summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-06 08:28:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-06 08:28:25 +0000
commitf7fa509637447df624cb0a0332ac2c07d091674c (patch)
tree2c08d1eb963bea3d28d66aa08fd84931d453afae
parentddcf2ef5bc605107d02e195751ad215af67c7000 (diff)
And fix typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5427 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/helperfuncs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 9bb843094..d8e718e48 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -196,9 +196,9 @@ void InspIRCd::WriteMode(const char* modes, int flags, const char* text, ...)
break;
}
}
+ if (send_to_user)
+ t->WriteServ("NOTICE %s :%s",t->nick,textbuffer);
}
- if (send_to_user)
- t->WriteServ("NOTICE %s :%s",t->nick,textbuffer);
}
else
if (flags == WM_OR)
@@ -216,9 +216,9 @@ void InspIRCd::WriteMode(const char* modes, int flags, const char* text, ...)
break;
}
}
+ if (send_to_user)
+ t->WriteServ("NOTICE %s :%s",t->nick,textbuffer);
}
- if (send_to_user)
- t->WriteServ("NOTICE %s :%s",t->nick,textbuffer);
}
}