Browse Source

dictionary: Trim whitespace up front

Will Storey 8 years ago
parent
commit
f9da54603b
1 changed files with 1 additions and 0 deletions
  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.