From 3b6b478aac3b0cff1e8c271e02e5b4b5d979f8cd Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 11 Nov 2003 11:32:09 +0000 Subject: [PATCH] Moved action to Misc from Utilities. --- plugins/Utilities.py | 7 ------- src/Misc.py | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/Utilities.py b/plugins/Utilities.py index 7f94bc2b1..2562b38c6 100644 --- a/plugins/Utilities.py +++ b/plugins/Utilities.py @@ -126,13 +126,6 @@ class Utilities(callbacks.Privmsg): raise callbacks.ArgumentError irc.reply(msg, ' '.join(args), prefixName=False) - def action(self, irc, msg, args): - """takes any number of arguments - - Returns the arguments given it, but as an action. - """ - irc.queueMsg(ircmsgs.action(ircutils.replyTo(msg), ' '.join(args))) - def re(self, irc, msg, args): """ diff --git a/src/Misc.py b/src/Misc.py index e3604dc7c..1acd40924 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -344,6 +344,13 @@ class Misc(callbacks.Privmsg): text = privmsgs.getArgs(args) irc.reply(msg, text, private=True) + def action(self, irc, msg, args): + """takes any number of arguments + + Returns the arguments given it, but as an action. + """ + irc.queueMsg(ircmsgs.action(ircutils.replyTo(msg), ' '.join(args))) + def notice(self, irc, msg, args): """