aboutsummaryrefslogtreecommitdiff
path: root/IRCServer.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-04-03 13:20:05 +0100
committerGravatar jesopo2016-04-03 13:20:05 +0100
commit504e93a78d59d51243acbcab6831309805d01fd1 (patch)
treef5687e4611875e3b4b5e5370492bf7df86e77703 /IRCServer.py
parentadded code to prevent newlines being where they shouldn't be in outgoing lines. (diff)
tinkered with some modules and fixed a few bugs, also added the skeleton for the auto_mode.py module.
Diffstat (limited to 'IRCServer.py')
-rw-r--r--IRCServer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/IRCServer.py b/IRCServer.py
index 054eb86c..04d0695a 100644
--- a/IRCServer.py
+++ b/IRCServer.py
@@ -193,6 +193,8 @@ class Server(object):
if action:
message = message.split("\01ACTION ", 1)[1][:-1]
if self.has_channel(target):
+ print("logging line:")
+ print("channel: %s" % target)
self.get_channel(target).log.add_line(None, message, action, True)
else:
self.get_user(target).log.add_line(None, message, action, True)