diff options
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/script.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/script.rb b/data/rbot/plugins/script.rb index eae14939..e3e718a7 100644 --- a/data/rbot/plugins/script.rb +++ b/data/rbot/plugins/script.rb @@ -48,7 +48,7 @@ class ScriptPlugin < Plugin end - def listen( m ) + def message( m ) name = m.message.split.first if m.address? and @commands.has_key?( name ) |