diff options
| author | 2008-02-13 18:22:19 +0000 | |
|---|---|---|
| committer | 2008-02-13 18:22:19 +0000 | |
| commit | bfaf7e3b27981a5144faba6d17c6e29fac735dbb (patch) | |
| tree | bdec845abe8e5fcf617657f1e2473aed1a8fdec6 /src/usermanager.cpp | |
| parent | This doesn't need to be inside the loop. There is only one IP for (potentiall... (diff) | |
Commit patch from danieldg that makes a ton of stuff const-safe for latest warn-happy trigger-happy gcc4 (thanks)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 5ee84590b..ca9736f1e 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -271,7 +271,7 @@ unsigned int UserManager::LocalUserCount() return (this->local_users.size() - this->UnregisteredUserCount()); } -void UserManager::ServerNoticeAll(char* text, ...) +void UserManager::ServerNoticeAll(const char* text, ...) { if (!text) return; @@ -292,7 +292,7 @@ void UserManager::ServerNoticeAll(char* text, ...) } } -void UserManager::ServerPrivmsgAll(char* text, ...) +void UserManager::ServerPrivmsgAll(const char* text, ...) { if (!text) return; |
