From 96e2a67aa58a63c2946e54f05add09ca201713df Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 21 Apr 2003 01:58:04 +0000 Subject: [PATCH] Added say command to OwnerCommands. --- src/privmsgs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/privmsgs.py b/src/privmsgs.py index b3b8c5c69..1cc3b83fd 100644 --- a/src/privmsgs.py +++ b/src/privmsgs.py @@ -310,6 +310,11 @@ class OwnerCommands(CapabilityCheckingPrivmsg): """takes no arguments""" irc.reply(msg, str(os.system('cvs up'))) + def say(self, irc, msg, args): + """ """ + (channel, text) = getArgs(args, needed=2) + irc.queueMsg(ircmsgs.privmsg(channel, text)) + standardPrivmsgModules = [OwnerCommands]