Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e5c0721435
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (7 sloc) 0.294 kB
class DebugModule(BawtM2):
_name = "DebugModule"
privmsg_re = "(!|%(nick)s:\s?)repr"
def handle_privmsg(self, msg):
print repr(msg.data_segment)
self.parent.privmsg(msg.replyto, "%(nick)s: %(data)s" % {'nick': msg.nick,
'data': repr(msg.data_segment)})
Jump to Line
Something went wrong with that request. Please try again.