Mercurial > xib
comparison commands.py @ 155:63db565438bd
fixed the halt command
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 17 Jan 2010 23:24:00 +0100 |
parents | 0a8f96a1d200 |
children | ce0eb3e969a7 |
comparison
equal
deleted
inserted
replaced
154:25f6778b8841 | 155:63db565438bd |
---|---|
178 bot.debug = False | 178 bot.debug = False |
179 return 'Debugging is now off' | 179 return 'Debugging is now off' |
180 | 180 |
181 | 181 |
182 def halt(bot, command, args_array, bot_admin, bridge): | 182 def halt(bot, command, args_array, bot_admin, bridge): |
183 bot.stop() | 183 bot.__del__() |
184 return | 184 return |
185 | 185 |
186 | 186 |
187 def irc_connections(bot, command, args_array, bot_admin, bridge): | 187 def irc_connections(bot, command, args_array, bot_admin, bridge): |
188 parser = ArgumentParser(prog=command) | 188 parser = ArgumentParser(prog=command) |