mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Admin: Add clearq command.
This commit is contained in:
parent
69fe2e0562
commit
c677077a31
@ -346,6 +346,16 @@ class Admin(callbacks.Plugin):
|
||||
list = wrap(list)
|
||||
|
||||
|
||||
def clearq(self, irc, msg, args):
|
||||
"""takes no arguments
|
||||
|
||||
Clears the current send queue for this network.
|
||||
"""
|
||||
irc.queue.reset()
|
||||
irc.replySuccess()
|
||||
|
||||
|
||||
|
||||
Class = Admin
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
||||
|
@ -1,3 +1,3 @@
|
||||
"""stick the various versioning attributes in here, so we only have to change
|
||||
them once."""
|
||||
version = '0.83.4.1+limnoria (2011-10-29T19:43:53+0200)'
|
||||
version = '0.83.4.1+limnoria (2011-10-30T14:21:52+0100)'
|
||||
|
Loading…
Reference in New Issue
Block a user