소스 검색

dictionary: Trim whitespace up front

Will Storey 8 년 전
부모
커밋
f9da54603b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      dictionary.tcl

+ 1 - 0
dictionary.tcl

@@ -160,6 +160,7 @@ proc ::dictionary::publearn {nick host hand chan argv} {
     return
   }
   set argv [stripcodes "uacgbr" $argv]
+  set argv [string trim $argv]
 
   # We only respond if we are directly addressed (botnick: ). This indicates
   # someone is giving us a command.