From 57a0e2f10fa1a3dc879a9f9a2bc000e13c54826a Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 29 Mar 2016 16:22:22 +0100 Subject: made commands work in channel AND in private message. --- IRCLineHandler.py | 1 + 1 file changed, 1 insertion(+) (limited to 'IRCLineHandler.py') 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]) -- cgit v1.3.1-10-gc9f91