mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +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)
|
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
|
Class = Admin
|
||||||
|
|
||||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
# 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
|
"""stick the various versioning attributes in here, so we only have to change
|
||||||
them once."""
|
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