Skip to content
Snippets Groups Projects
Commit 003474c1 authored by Svetlana Tkachenko's avatar Svetlana Tkachenko
Browse files

remove debug output

parent 89d232d7
No related branches found
No related tags found
No related merge requests found
......@@ -12,12 +12,9 @@ class sed(object):
def handle_message(self, channel, user, message):
if self.s_expr.match(message):
args = message.split("/")
print self.backlog[channel]
self.backlog[channel].reverse()
print self.backlog[channel]
for usr,msg in self.backlog[channel]:
if user == usr:
print msg
if msg.find(args[1]) != -1:
if args[3].find('g') != -1: newmsg = msg.replace(args[1], args[2])
else: newmsg = msg.replace(args[1], args[2],1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment