public
Description: Direct Connect bot written in Ruby
Clone URL: git://github.com/kballard/dcbot.git
Don't raise an exception on messages containing just !
kballard (author)
Tue Feb 26 00:28:06 -0800 2008
commit  f8e3b582038680ed2cd5b7febd35ec9340d383c9
tree    c9dc81aea6c2a6d116d06f2595845cdc96ec9a73
parent  54b95a8985550a291e5c4433c51c88673b330477
...
73
74
75
 
76
77
78
...
73
74
75
76
77
78
79
0
@@ -73,6 +73,7 @@ def setupConnection(host, port, nickname, sockopts, sleep)
0
       end
0
       if message[0,1] == PluginBase::CMD_PREFIX then
0
         cmd, args = message[1..-1].split(" ", 2)
0
+ cmd = "" if cmd.nil?
0
         args = "" if args.nil?
0
         cmd.downcase!
0
         if cmd == "reload" and isprivate then

Comments

    No one has commented yet.