Admin: Add clearq command.

This commit is contained in:
Valentin Lorentz 2011-10-30 14:21:53 +01:00
parent 69fe2e0562
commit c677077a31
2 changed files with 11 additions and 1 deletions

View File

@ -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:

View File

@ -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)'