Show
Ignore:
Timestamp:
03/03/08 23:59:42 (5 years ago)
Author:
tobias382
Message:

* Fixed a bug in the Autojoin plugin where the channel list was not processed correctly when using a space as a delimiter (thanks Slynderdale)
* Modified the Spellcheck plugin to not require a space between the word being checked and the spell check request trigger (thanks Slynderdale)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Phergie/Plugin/Spellcheck.php

    r107 r113  
    7171        $message = $this->event->getArgument(1); 
    7272         
    73         if (preg_match('#(\S+)\s+\(sp\??\)#i', $message, $m)) { 
     73        if (preg_match('#(\S+)\s*\(sp\??\)#i', $message, $m)) { 
    7474            $word = $m[1]; 
    7575            if (!pspell_check($this->pspell, $word)) {