aboutsummaryrefslogtreecommitdiff
path: root/IRCLineHandler.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-03-29 16:22:22 +0100
committerGravatar jesopo2016-03-29 16:22:22 +0100
commit57a0e2f10fa1a3dc879a9f9a2bc000e13c54826a (patch)
tree5a9f17a831ea9fa75cd36ea894001440c01050a6 /IRCLineHandler.py
parentmade it possible to get http code even when a HTTPError kicks up. (diff)
made commands work in channel AND in private message.
Diffstat (limited to 'IRCLineHandler.py')
-rw-r--r--IRCLineHandler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py
index 2c6423e7..95c2b6b7 100644
--- a/IRCLineHandler.py
+++ b/IRCLineHandler.py
@@ -247,6 +247,7 @@ def handle_PRIVMSG(line, line_split, bot, server):
line=line, line_split=line_split, server=server,
user=user, message=message, message_split=message_split,
action=action)
+ user.log.add_line(user.nickname, message, action)
@handler(description="response to a WHO command for user information")
def handle_352(line, line_split, bot, server):
user = server.get_user(line_split[7])