Added sendquote.

This commit is contained in:
Jeremy Fincher 2004-05-11 18:22:50 +00:00
parent b01ca9845f
commit 9c4b80c653

View File

@ -75,6 +75,14 @@ class Debug(privmsgs.CapabilityCheckingPrivmsg):
exn = getattr(exceptions, name) exn = getattr(exceptions, name)
raise exn, msg.prefix 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 Class = Debug