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): """