diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-05 15:04:01 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-05 15:04:01 +0100 |
commit | 11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f (patch) | |
tree | 1c3c602de5512a62e2db96652ddd540e6e53e821 /src/helperfuncs.cpp | |
parent | 2f181fef775da4a686a892c06af843dddfb7950a (diff) |
Introduce Server class
- Replaces std::string server in User
- Replaces InspIRCd::ULine() and SilentULine()
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 354d0a112..655bf9ae4 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -420,23 +420,6 @@ const char* InspIRCd::Format(const char* formatString, ...) return ret; } -bool InspIRCd::ULine(const std::string& sserver) -{ - if (sserver.empty()) - return true; - - return (Config->ulines.find(sserver.c_str()) != Config->ulines.end()); -} - -bool InspIRCd::SilentULine(const std::string& sserver) -{ - std::map<irc::string,bool>::iterator n = Config->ulines.find(sserver.c_str()); - if (n != Config->ulines.end()) - return n->second; - else - return false; -} - std::string InspIRCd::TimeString(time_t curtime) { #ifdef _WIN32 |