summaryrefslogtreecommitdiff
path: root/src/core/ns_help.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/core/ns_help.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/core/ns_help.c')
-rw-r--r--src/core/ns_help.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/core/ns_help.c b/src/core/ns_help.c
index ace2384f2..013a0589a 100644
--- a/src/core/ns_help.c
+++ b/src/core/ns_help.c
@@ -41,28 +41,28 @@ class NSHelp : public Module
**/
int do_help(User * u)
{
- char *cmd = strtok(NULL, "");
+ char *cmd = strtok(NULL, "");
- if (!cmd) {
- notice_help(s_NickServ, u, NICK_HELP);
- moduleDisplayHelp(1, u);
- if (is_services_admin(u)) {
- notice_help(s_NickServ, u, NICK_SERVADMIN_HELP);
- }
- if (NSExpire >= 86400)
- notice_help(s_NickServ, u, NICK_HELP_EXPIRES,
- NSExpire / 86400);
- notice_help(s_NickServ, u, NICK_HELP_FOOTER);
- } else if (stricmp(cmd, "SET LANGUAGE") == 0) {
- int i;
- notice_help(s_NickServ, u, NICK_HELP_SET_LANGUAGE);
- for (i = 0; i < NUM_LANGS && langlist[i] >= 0; i++)
- notice_user(s_NickServ, u, " %2d) %s", i + 1,
- langnames[langlist[i]]);
- } else {
- mod_help_cmd(s_NickServ, u, NICKSERV, cmd);
- }
- return MOD_CONT;
+ if (!cmd) {
+ notice_help(s_NickServ, u, NICK_HELP);
+ moduleDisplayHelp(1, u);
+ if (is_services_admin(u)) {
+ notice_help(s_NickServ, u, NICK_SERVADMIN_HELP);
+ }
+ if (NSExpire >= 86400)
+ notice_help(s_NickServ, u, NICK_HELP_EXPIRES,
+ NSExpire / 86400);
+ notice_help(s_NickServ, u, NICK_HELP_FOOTER);
+ } else if (stricmp(cmd, "SET LANGUAGE") == 0) {
+ int i;
+ notice_help(s_NickServ, u, NICK_HELP_SET_LANGUAGE);
+ for (i = 0; i < NUM_LANGS && langlist[i] >= 0; i++)
+ notice_user(s_NickServ, u, " %2d) %s", i + 1,
+ langnames[langlist[i]]);
+ } else {
+ mod_help_cmd(s_NickServ, u, NICKSERV, cmd);
+ }
+ return MOD_CONT;
}
/* EOF */