/[svn]/ircd-hybrid/trunk/modules/core/m_nick.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/modules/core/m_nick.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8587 by michael, Thu Apr 5 12:46:00 2018 UTC revision 8588 by michael, Sun Oct 21 10:51:52 2018 UTC
# Line 287  change_remote_nick(struct Client *source Line 287  change_remote_nick(struct Client *source
287    {    {
288      DelUMode(source_p, UMODE_REGISTERED);      DelUMode(source_p, UMODE_REGISTERED);
289      watch_check_hash(source_p, RPL_LOGOFF);      watch_check_hash(source_p, RPL_LOGOFF);
290    
291      source_p->tsinfo = strtoumax(parv[2], NULL, 10);      source_p->tsinfo = strtoumax(parv[2], NULL, 10);
292      assert(source_p->tsinfo > 0);      assert(source_p->tsinfo);
293    }    }
294    
295    sendto_realops_flags(UMODE_NCHANGE, L_ALL, SEND_NOTICE,    sendto_realops_flags(UMODE_NCHANGE, L_ALL, SEND_NOTICE,
# Line 525  perform_nick_change_collides(struct Clie Line 526  perform_nick_change_collides(struct Clie
526    
527    assert(IsClient(source_p));    assert(IsClient(source_p));
528    assert(IsClient(target_p));    assert(IsClient(target_p));
529    assert(newts > 0);    assert(newts);
530    
531    /* It's a client changing nick and causing a collide */    /* It's a client changing nick and causing a collide */
532    if (!newts || !target_p->tsinfo || (newts == target_p->tsinfo))    if (!newts || !target_p->tsinfo || (newts == target_p->tsinfo))

Legend:
Removed from v.8587  
changed lines
  Added in v.8588

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28