Added clearq command to clear the send queue.

This commit is contained in:
Jeremy Fincher 2008-06-27 19:12:53 +00:00 committed by James Vega
parent d08eee8f13
commit 8786b4c993

View File

@ -197,6 +197,14 @@ class Debug(callbacks.Privmsg):
irc.reply(repr(os.environ))
environ = wrap(environ)
def clearq(self, irc, msg, args):
"""takes no arguments
Clears the current send queue for this network.
"""
irc.queue.reset()
irc.replySuccess()
Class = Debug