1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 23:03:14 +02:00

BUILD : 1.7.8 (574) BUGS : N/A NOTES : Internal Events, Win32 can build with encryption, nickIsServices() works if format is nick@services

git-svn-id: svn://svn.anope.org/anope/trunk@574 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@424 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-02-14 06:01:38 +00:00
parent f194129217
commit 59f3a38ffd
23 changed files with 1178 additions and 17 deletions
+9 -1
View File
@@ -814,9 +814,17 @@ void EnforceQlinedNick(char *nick, char *killer)
int nickIsServices(char *nick, int bot)
{
int found = 0;
char *s;
if (!nick) {
return found;
return found;
}
s = strchr(nick, '@');
if (s) {
*s++ = 0;
if (stricmp(s, ServerName) != 0)
return found;
}
if (s_NickServ && (stricmp(nick, s_NickServ) == 0))