diff options
| author | 2014-01-05 15:20:17 +0100 | |
|---|---|---|
| committer | 2014-01-05 15:20:17 +0100 | |
| commit | 9136136ac373a922cd0875f77d3212a419fb9100 (patch) | |
| tree | 385afcb56e62de5a39bed1d7bf6d5311cc001df9 /src/helperfuncs.cpp | |
| parent | Introduce Server class (diff) | |
Move server description field from TreeServer into Server; remove OnGetServerDescription hook
Diffstat (limited to 'src/helperfuncs.cpp')
| -rw-r--r-- | src/helperfuncs.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 655bf9ae4..6a831bb04 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -32,23 +32,6 @@ #include "exitcodes.h" #include <iostream> -std::string InspIRCd::GetServerDescription(const std::string& servername) -{ - std::string description; - - FOREACH_MOD(OnGetServerDescription, (servername,description)); - - if (!description.empty()) - { - return description; - } - else - { - // not a remote server that can be found, it must be me. - return Config->ServerDesc; - } -} - /* Find a user record by nickname and return a pointer to it */ User* InspIRCd::FindNick(const std::string &nick) { |
