From 40680e2535a6b9954d11344a9ec5e0ddac54e537 Mon Sep 17 00:00:00 2001 From: rburchell Date: Thu, 19 Feb 2009 00:23:50 +0000 Subject: Fix ns_update, thanks DP. Fix two compile errors. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2117 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ns_update.c | 2 +- src/core/ss_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/ns_update.c b/src/core/ns_update.c index bd452bc88..8f9d0d0c5 100644 --- a/src/core/ns_update.c +++ b/src/core/ns_update.c @@ -24,7 +24,7 @@ class CommandNSUpdate : public Command { } - CommandReturn Process(User *u, std::vector ¶ms) + CommandReturn Execute(User *u, std::vector ¶ms) { NickAlias *na = findnick(u->nick); diff --git a/src/core/ss_main.c b/src/core/ss_main.c index 95b9e2fa8..a0a855dd8 100644 --- a/src/core/ss_main.c +++ b/src/core/ss_main.c @@ -47,8 +47,8 @@ class SSMain : public Module if (servsock == -1) { - EvtHook *hook = createEventHook(EVENT_SERVER_CONNECT, statserv_create); - this->AddEventHook(hook); +// EvtHook *hook = createEventHook(EVENT_SERVER_CONNECT, statserv_create); +// this->AddEventHook(hook); } else statserv_create(0, NULL); -- cgit