Skip to content

Commit

Permalink
log out when switching nick
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Mottram committed May 25, 2021
1 parent 75257fa commit 2911999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions miniircd
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,9 @@ class Client:
)
oldnickname = self.nickname
self.nickname = newnick
self.is_operator = False
self.is_registered = False
self.quiet = False
self.server.client_changed_nickname(self, oldnickname)
self.message_related(
b":%s!%s@%s NICK %s"
Expand Down

0 comments on commit 2911999

Please sign in to comment.