summaryrefslogtreecommitdiff
path: root/src/helpserv.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-14 20:57:20 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-14 20:57:20 +0000
commit6c55e0a529c7f1216ff6f63a4fc77ea06a2a3a38 (patch)
tree91b0841faf23087ebe0c74dd4269d181a383f1e7 /src/helpserv.c
parent069409cd99cf78ab8bf87a1fe69a833576414fd3 (diff)
Insane commit of doom: s/ \t/g
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/helpserv.c')
-rw-r--r--src/helpserv.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/helpserv.c b/src/helpserv.c
index 72f2142c7..3ac81c88e 100644
--- a/src/helpserv.c
+++ b/src/helpserv.c
@@ -37,7 +37,7 @@ void moduleAddHelpServCmds(void)
*/
void helpserv_init(void)
{
- moduleAddHelpServCmds();
+ moduleAddHelpServCmds();
}
/*************************************************************************/
@@ -50,20 +50,20 @@ void helpserv_init(void)
*/
void helpserv(User * u, char *buf)
{
- const char *cmd, *s;
+ const char *cmd, *s;
- cmd = strtok(buf, " ");
+ cmd = strtok(buf, " ");
- if (!cmd) {
- return;
- } else if (stricmp(cmd, "\1PING") == 0) {
- if (!(s = strtok(NULL, ""))) {
- s = "";
- }
- ircdproto->SendCTCP(findbot(s_HelpServ), u->nick, "PING %s", s);
- } else {
- mod_run_cmd(s_HelpServ, u, HELPSERV, cmd);
- }
+ if (!cmd) {
+ return;
+ } else if (stricmp(cmd, "\1PING") == 0) {
+ if (!(s = strtok(NULL, ""))) {
+ s = "";
+ }
+ ircdproto->SendCTCP(findbot(s_HelpServ), u->nick, "PING %s", s);
+ } else {
+ mod_run_cmd(s_HelpServ, u, HELPSERV, cmd);
+ }
}
/*************************************************************************/