/[svn]/hopm/trunk/src/irc.c
ViewVC logotype

Diff of /hopm/trunk/src/irc.c

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

revision 8223 by michael, Fri Apr 14 12:38:22 2017 UTC revision 8224 by michael, Mon Apr 17 08:39:41 2017 UTC
# Line 250  m_privmsg(char *parv[], unsigned int par Line 250  m_privmsg(char *parv[], unsigned int par
250      size_t nick_len = strlen(IRCItem->nick);      size_t nick_len = strlen(IRCItem->nick);
251    
252      if (strncasecmp(parv[3], IRCItem->nick, nick_len) == 0)      if (strncasecmp(parv[3], IRCItem->nick, nick_len) == 0)
253        hit = *(parv[3] + nick_len) == ' ';        hit = *(parv[3] + nick_len) == ' ' ||
254                *(parv[3] + nick_len) == ',' ||
255                *(parv[3] + nick_len) == ':';
256    }    }
257    
258    if (hit)    if (hit)

Legend:
Removed from v.8223  
changed lines
  Added in v.8224

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