From 6c55e0a529c7f1216ff6f63a4fc77ea06a2a3a38 Mon Sep 17 00:00:00 2001 From: rburchell Date: Fri, 14 Nov 2008 20:57:20 +0000 Subject: Insane commit of doom: s/ \t/g git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/os_reload.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/core/os_reload.c') diff --git a/src/core/os_reload.c b/src/core/os_reload.c index 693838700..514fa42e7 100644 --- a/src/core/os_reload.c +++ b/src/core/os_reload.c @@ -43,9 +43,9 @@ class OSReload : public Module **/ void myOperServHelp(User * u) { - if (is_services_root(u)) { - notice_lang(s_OperServ, u, OPER_HELP_CMD_RELOAD); - } + if (is_services_root(u)) { + notice_lang(s_OperServ, u, OPER_HELP_CMD_RELOAD); + } } /** @@ -55,19 +55,19 @@ void myOperServHelp(User * u) **/ int do_reload(User * u) { - if (!read_config(1)) { - quitmsg = (char *)calloc(28 + strlen(u->nick), 1); - if (!quitmsg) - quitmsg = - "Error during the reload of the configuration file, but out of memory!"; - else - sprintf((char *)quitmsg, /* XXX */ - "Error during the reload of the configuration file!"); - quitting = 1; - } - send_event(EVENT_RELOAD, 1, EVENT_START); - notice_lang(s_OperServ, u, OPER_RELOAD); - return MOD_CONT; + if (!read_config(1)) { + quitmsg = (char *)calloc(28 + strlen(u->nick), 1); + if (!quitmsg) + quitmsg = + "Error during the reload of the configuration file, but out of memory!"; + else + sprintf((char *)quitmsg, /* XXX */ + "Error during the reload of the configuration file!"); + quitting = 1; + } + send_event(EVENT_RELOAD, 1, EVENT_START); + notice_lang(s_OperServ, u, OPER_RELOAD); + return MOD_CONT; } MODULE_INIT("os_reload", OSReload) -- cgit