/[svn]/ircd-hybrid-8/contrib/m_change.c
ViewVC logotype

Diff of /ircd-hybrid-8/contrib/m_change.c

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

revision 1574 by michael, Sun Jul 22 14:44:07 2012 UTC revision 1575 by michael, Thu Oct 18 14:27:36 2012 UTC
# Line 38  Line 38 
38  #include "s_user.h"  #include "s_user.h"
39  #include "hash.h"  #include "hash.h"
40  #include "userhost.h"  #include "userhost.h"
41    #include "channel_mode.h"
42    
43    
44  static void  static void
# Line 96  mo_chgident(struct Client *client_p, str Line 97  mo_chgident(struct Client *client_p, str
97                 target_p->host);                 target_p->host);
98    }    }
99    
100    if (MyConnect(target_p) && IsClient(source_p))    if (MyClient(target_p))
101      sendto_one(target_p, ":%s NOTICE %s :You are now %s@%s",    {
102                 me.name, target_p->name, target_p->username, target_p->host);      if (IsClient(source_p))
103          sendto_one(target_p, ":%s NOTICE %s :You are now %s@%s",
104                     me.name, target_p->name, target_p->username, target_p->host);
105    
106        clear_ban_cache_client(target_p);
107      }
108  }  }
109    
110  static void  static void
# Line 158  mo_chghost(struct Client *client_p, stru Line 164  mo_chghost(struct Client *client_p, stru
164                 target_p->host);                 target_p->host);
165    }    }
166    
167    if (MyConnect(target_p) && IsClient(source_p))    if (MyClient(target_p))
168      sendto_one(target_p, ":%s NOTICE %s :You are now %s@%s",    {
169                 me.name, target_p->name, target_p->username, target_p->host);      if (IsClient(source_p))
170          sendto_one(target_p, ":%s NOTICE %s :You are now %s@%s",
171                     me.name, target_p->name, target_p->username, target_p->host);
172        clear_ban_cache_client(target_p);
173      }
174  }  }
175    
176  static void  static void

Legend:
Removed from v.1574  
changed lines
  Added in v.1575

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