summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-13 16:02:30 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-13 16:02:30 +0000
commitba935451d8eb2e90d334676f06c5bf5c8898a4f0 (patch)
tree6049484751921257a26a9598449c06b39856cbf0 /src/misc.c
parent663b243c593f1beb713e97d248f7d6586777e777 (diff)
BUILD : 1.7.13 (1007)# BUGS : 476 # NOTES : Applied Trystan's patch.
git-svn-id: svn://svn.anope.org/anope/trunk@1007 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@732 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/misc.c b/src/misc.c
index 22f329717..563b39e86 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -826,10 +826,11 @@ int nickIsServices(char *tempnick, int bot)
s = strchr(nick, '@');
if (s) {
- *s++ = 0;
- if (stricmp(s, ServerName) != 0)
- free(nick);
- return found;
+ *s++ = 0;
+ if (stricmp(s, ServerName) != 0) {
+ free(nick);
+ return found;
+ }
}
if (s_NickServ && (stricmp(nick, s_NickServ) == 0))