Skip to content

Commit

Permalink
Dont call killmember() in gotpart(), if we already know it is not ism…
Browse files Browse the repository at this point in the history
…ember()
  • Loading branch information
michaelortmann committed Oct 29, 2024
1 parent e28beb7 commit 48f54e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mod/irc.mod/chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,8 @@ static int gotpart(char *from, char *msg)
if (!chan)
return 0;

killmember(chan, nick);
if (m)
killmember(chan, nick);
if (msg[0])
putlog(LOG_JOIN, chan->dname, "%s (%s) left %s (%s).", nick, from,
chan->dname, msg);
Expand Down

0 comments on commit 48f54e2

Please sign in to comment.