summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index a054e9b87..1e92e2bda 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -596,6 +596,16 @@ bool Server::AddMode(ModeHandler* mh, const unsigned char mode)
return ServerInstance->ModeGrok->AddMode(mh,mode);
}
+bool Server::AddModeWatcher(ModeWatcher* mw)
+{
+ return ServerInstance->ModeGrok->AddModeWatcher(mw);
+}
+
+bool Server::DelModeWatcher(ModeWatcher* mw)
+{
+ return ServerInstance->ModeGrok->DelModeWatcher(mw);
+}
+
int Server::CountUsers(chanrec* c)
{
return usercount(c);