summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd_away.cpp4
-rw-r--r--src/cmd_modules.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd_away.cpp b/src/cmd_away.cpp
index 4623dc7f7..65e613acb 100644
--- a/src/cmd_away.cpp
+++ b/src/cmd_away.cpp
@@ -39,6 +39,10 @@ using namespace std;
extern ServerConfig* Config;
extern InspIRCd* ServerInstance;
+extern int MODCOUNT;
+extern std::vector<Module*> modules;
+extern std::vector<ircd_module*> factory;
+
void cmd_away::Handle (char **parameters, int pcnt, userrec *user)
{
diff --git a/src/cmd_modules.cpp b/src/cmd_modules.cpp
index 75c730052..460290edc 100644
--- a/src/cmd_modules.cpp
+++ b/src/cmd_modules.cpp
@@ -74,7 +74,7 @@ char* itab[] = {
"OnCheckKey", "OnCheckLimit", "OnCheckBan", "OnStats", "OnChangeLocalUserHost", "OnChangeLocalUserGecos", "OnLocalTopicChange",
"OnPostLocalTopicChange", "OnEvent", "OnRequest", "OnOperCompre", "OnGlobalOper", "OnGlobalConnect", "OnAddBan", "OnDelBan",
"OnRawSocketAccept", "OnRawSocketClose", "OnRawSocketWrite", "OnRawSocketRead", "OnChangeLocalUserGECOS", "OnUserRegister",
- "OnOperCompare", NULL
+ "OnOperCompare", "OnChannelDelete", "OnPostOper", "OnSyncOtherMetaData", "OnSetAway", "OnCancelAway", NULL
};
void cmd_modules::Handle (char **parameters, int pcnt, userrec *user)