Skip to content

Commit

Permalink
remove duplicate self.userdb.add_channel_message
Browse files Browse the repository at this point in the history
  • Loading branch information
abma committed Sep 30, 2022
1 parent 8bd126f commit 9c793d6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions protocol/Protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -1435,9 +1435,6 @@ def in_SAYFROM(self, client, chan, location, external_id, msg):
self._root.broadcast('SAIDBATTLE %s %s' % (client.username, msg), chan, set([]), client, None, 'u')
else:
self._root.broadcast('SAID %s %s %s' % (chan, client.username, msg), chan, set([]), client, None, 'u')
if channel.store_history: #fixme for bridged clients
self.userdb.add_channel_message(channel.id, client.user_id, msg)


def in_IGNORE(self, client, tags):
'''
Expand Down

0 comments on commit 9c793d6

Please sign in to comment.