summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-19 00:23:50 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-19 00:23:50 +0000
commit40680e2535a6b9954d11344a9ec5e0ddac54e537 (patch)
treeafef73b19410b72aa9fcfb2a39ef0f5d087807df /src
parentc917ca5a34340f1020d4fe5b963232241efd5974 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_update.c2
-rw-r--r--src/core/ss_main.c4
-rw-r--r--src/modules/os_info.c2
3 files changed, 3 insertions, 5 deletions
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<std::string> &params)
+ CommandReturn Execute(User *u, std::vector<std::string> &params)
{
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);
diff --git a/src/modules/os_info.c b/src/modules/os_info.c
index c3d05fb85..3fe5527cc 100644
--- a/src/modules/os_info.c
+++ b/src/modules/os_info.c
@@ -283,8 +283,6 @@ class OSInfo : public Module
public:
OSInfo(const std::string &modname, const std::string &creator) : Module(modname, creator)
{
- EvtHook *hook = NULL;
-
int status;
me = this;