diff options
| author | 2018-08-28 12:23:57 +0100 | |
|---|---|---|
| committer | 2018-08-28 12:23:57 +0100 | |
| commit | e5a5fa5c4b40918247be8486d27a1676b6d2b044 (patch) | |
| tree | 70e61a968a20134b01ea4e4f5611e4e254df06ae /IRCLineHandler.py | |
| parent | Prevent users sending coins to themselves (diff) | |
| signature | ||
modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change logging
to be an object on the server object instead of an event call
Diffstat (limited to 'IRCLineHandler.py')
| -rw-r--r-- | IRCLineHandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py index 6267fc06..38bf49a0 100644 --- a/IRCLineHandler.py +++ b/IRCLineHandler.py @@ -302,12 +302,12 @@ def handle_PRIVMSG(data): bot.events.on("received").on("message").on("channel").call( user=user, message=message, message_split=message_split, channel=channel, action=action, server=data.server) - channel.log.add_line(user.nickname, message, action) + channel.buffer.add_line(user.nickname, message, action) elif server.is_own_nickname(target): bot.events.on("received").on("message").on("private").call( user=user, message=message, message_split=message_split, action=action, server=data.server) - user.log.add_line(user.nickname, message, action) + user.buffer.add_line(user.nickname, message, action) @handler(description="we've received a notice") def handle_NOTICE(data): |
