Only enforce channel mode N on users (not servers or services)
This commit is contained in:
parent
7ff16e8116
commit
599626d570
|
@ -262,7 +262,8 @@ IRC_NICK( CLIENT *Client, REQUEST *Req )
|
|||
/* Nickname change */
|
||||
|
||||
/* Check that the user isn't on any channels set +N */
|
||||
if(!Client_HasMode(Client, 'o')) {
|
||||
if(Client_Type(Client) == CLIENT_USER &&
|
||||
!Client_HasMode(Client, 'o')) {
|
||||
chan = Channel_First();
|
||||
while (chan) {
|
||||
if(Channel_IsMemberOf(chan, Client) &&
|
||||
|
|
Loading…
Reference in New Issue