summaryrefslogtreecommitdiff
path: root/src/cmd_restart.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:26:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:26:07 +0000
commite84bf9f3ec5a60078c32b272d3d7885c0708c544 (patch)
tree99fc8f4b4d7bede49e91f27abcdee6fb8c4fe6f4 /src/cmd_restart.cpp
parentd17465716790010b6e3221f9ce49272110276ccf (diff)
Change to using Instance->Log (InspIRCd::Log) rather than log() macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_restart.cpp')
-rw-r--r--src/cmd_restart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_restart.cpp b/src/cmd_restart.cpp
index c72a16495..ff3d641ff 100644
--- a/src/cmd_restart.cpp
+++ b/src/cmd_restart.cpp
@@ -25,7 +25,7 @@
void cmd_restart::Handle (const char** parameters, int pcnt, userrec *user)
{
char *argv[32];
- log(DEFAULT,"Restart: %s",user->nick);
+ ServerInstance->Log(DEFAULT,"Restart: %s",user->nick);
if (!strcmp(parameters[0],ServerInstance->Config->restartpass))
{
ServerInstance->WriteOpers("*** RESTART command from %s!%s@%s, restarting server.",user->nick,user->ident,user->host);