mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Added clearq command to clear the send queue.
This commit is contained in:
parent
d08eee8f13
commit
8786b4c993
@ -197,6 +197,14 @@ class Debug(callbacks.Privmsg):
|
|||||||
irc.reply(repr(os.environ))
|
irc.reply(repr(os.environ))
|
||||||
environ = wrap(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
|
Class = Debug
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user