summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 9f457868c..cfb96cca2 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -377,7 +377,16 @@ void ChanExceptSender(chanrec* Ptr, userrec* user, char* text, ...)
std::string GetServerDescription(char* servername)
{
- return ServerDesc; // not a remote server that can be found, it must be me.
+ std::string description = "";
+ FOREACH_MOD OnGetServerDescription(servername,description);
+ if (description != "")
+ {
+ return description;
+ }
+ else
+ {
+ return ServerDesc; // not a remote server that can be found, it must be me.
+ }
}
/* write a formatted string to all users who share at least one common