aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar brain2005-12-26 17:26:16 +0000
committerGravatar brain2005-12-26 17:26:16 +0000
commita9b90ecb4329498aba52da6aaa9812e3a70b8e11 (patch)
tree38053a6bfa07486c6fc5cc46ebddb5e32306014a /src/helperfuncs.cpp
parentAllow halfop to dehalfop themselves` (diff)
downloadinspircd++-a9b90ecb4329498aba52da6aaa9812e3a70b8e11.tar.gz
inspircd++-a9b90ecb4329498aba52da6aaa9812e3a70b8e11.tar.bz2
inspircd++-a9b90ecb4329498aba52da6aaa9812e3a70b8e11.zip
Adding hook type checking to event calls to speed them up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 3bc2bb79a..71840a22a 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -366,7 +366,7 @@ void ChanExceptSender(chanrec* Ptr, userrec* user, char* text, ...)
std::string GetServerDescription(char* servername)
{
std::string description = "";
- FOREACH_MOD OnGetServerDescription(servername,description);
+ FOREACH_MOD(I_OnGetServerDescription,OnGetServerDescription(servername,description));
if (description != "")
{
return description;