* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: m_nick.c 3518 2007-06-22 21:59:09Z jilles $
*/
#include "stdinc.h"
nick, chptr->chname);
return;
}
+
+ chptr = find_nonickchange_channel(source_p);
+ if (chptr != NULL)
+ {
+ sendto_one_numeric(source_p, ERR_NONICK,
+ form_str(ERR_NONICK),
+ chptr->chname);
+ return;
+ }
+
if((source_p->localClient->last_nick_change + ConfigFileEntry.max_nick_time) < rb_current_time())
source_p->localClient->number_of_nick_changes = 0;