Commits

B.Greenham  committed 01cc938

Fix +J not checking for local clients properly.

  • Participants
  • Parent commits 6479616

Comments (0)

Files changed (1)

File modules/core/m_kick.c

 		remove_user_from_channel(msptr);
 
 		/* we don't need to track NOREJOIN stuff unless it's our client being kicked */
-		if(MyClient(source_p) && chptr->mode.mode & MODE_NOREJOIN)
+		if(MyClient(who) && chptr->mode.mode & MODE_NOREJOIN)
 			channel_metadata_time_add(chptr, "KICKNOREJOIN", rb_current_time(), who->id);
 	}
 	else if (MyClient(source_p))