Skip to content

Commit

Permalink
Accept NOTICE command too
Browse files Browse the repository at this point in the history
  • Loading branch information
devunt committed Aug 23, 2017
1 parent 1ea76c8 commit 345dbfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ika/services/core/events/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ def privmsg(self, uid, target_uid_or_cname, message):
if target_uid_or_cname.startswith(self.server.sid):
self.server.service_bots[target_uid_or_cname].process_command(self.server.users[uid], message)

def notice(self, uid, target_uid_or_cname, message):
self.privmsg(uid, target_uid_or_cname, message)

def opertype(self, uid, opertype):
self.server.users[uid].opertype = opertype
self.server.users[uid].update_modes('+o')
Expand Down

0 comments on commit 345dbfa

Please sign in to comment.