]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
script plugin: use m.okay
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 18 Mar 2008 23:22:39 +0000 (00:22 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 19 Mar 2008 13:49:48 +0000 (14:49 +0100)
data/rbot/plugins/script.rb

index 83a1c9144f3efa1cfddb0ad0b6ebed8af1126fb6..c994d4da91c95a0a663d72473b1ac896b4d921a5 100644 (file)
@@ -113,7 +113,7 @@ class ScriptPlugin < Plugin
     command = Command.new( code, nick, created, channel )
     @commands[name] = command
 
-    m.reply( "done" )
+    m.okay
   end
 
 
@@ -129,7 +129,7 @@ class ScriptPlugin < Plugin
     end
 
     @commands.delete( name )
-    m.reply( "done" )
+    m.okay
   end