summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;