From e2ca8e613110d3976627e7da79c08dd3c144311e Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 10 Jul 2006 12:53:29 +0000 Subject: Add interface to AddModeWatcher and DelModeWatcher into class Server git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4267 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') 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); -- cgit v1.2.3