diff --git a/plugins/Admin/plugin.py b/plugins/Admin/plugin.py index 3df4279a0..4f5abb728 100644 --- a/plugins/Admin/plugin.py +++ b/plugins/Admin/plugin.py @@ -332,6 +332,15 @@ class Admin(callbacks.Plugin): irc.reply('I\'m not currently globally ignoring anyone.') 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() + clearq = wrap(clearq) + Class = Admin diff --git a/sandbox/Debug/plugin.py b/sandbox/Debug/plugin.py index 3ee72750f..bfe2b7f8f 100644 --- a/sandbox/Debug/plugin.py +++ b/sandbox/Debug/plugin.py @@ -198,14 +198,6 @@ 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