From 9c4b80c653e753184f365a6477d7b1d9bb3c16a6 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 11 May 2004 18:22:50 +0000 Subject: [PATCH] Added sendquote. --- sandbox/Debug.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sandbox/Debug.py b/sandbox/Debug.py index 9ca4d194d..f69cf000a 100644 --- a/sandbox/Debug.py +++ b/sandbox/Debug.py @@ -75,6 +75,14 @@ class Debug(privmsgs.CapabilityCheckingPrivmsg): exn = getattr(exceptions, name) raise exn, msg.prefix + def sendquote(self, irc, msg, args): + """ + + Sends (not queues) the raw IRC message given. + """ + msg = ircmsgs.IrcMsg(privmsgs.getArgs(args)) + irc.sendMsg(msg) + Class = Debug