summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp1
-rw-r--r--src/modules.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index f59901772..c7c2b8e9a 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1088,6 +1088,7 @@ void handle_who(char **parameters, int pcnt, userrec *user)
void handle_wallops(char **parameters, int pcnt, userrec *user)
{
WriteWallOps(user,false,"%s",parameters[0]);
+ FOREACH_MOD OnWallops(user,parameters[0]);
}
void handle_list(char **parameters, int pcnt, userrec *user)
diff --git a/src/modules.cpp b/src/modules.cpp
index ae06ee10e..984f9f5be 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -367,7 +367,7 @@ void Module::OnGetServerDescription(std::string servername,std::string &descrip
void Module::OnSyncUser(userrec* user, Module* proto, void* opaque) { };
void Module::OnSyncChannel(chanrec* chan, Module* proto, void* opaque) { };
void Module::ProtoSendMode(void* opaque, int target_type, void* target, std::string modeline) { };
-
+void OnWallops(userrec* user, std::string text) { };
// server is a wrapper class that provides methods to all of the C-style
// exports in the core