Added sendquote.

This commit is contained in:
Jeremy Fincher 2004-05-11 18:22:50 +00:00
parent b01ca9845f
commit 9c4b80c653
1 changed files with 8 additions and 0 deletions

View File

@ -75,6 +75,14 @@ class Debug(privmsgs.CapabilityCheckingPrivmsg):
exn = getattr(exceptions, name)
raise exn, msg.prefix
def sendquote(self, irc, msg, args):
"""<raw IRC message>
Sends (not queues) the raw IRC message given.
"""
msg = ircmsgs.IrcMsg(privmsgs.getArgs(args))
irc.sendMsg(msg)
Class = Debug