diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/helperfuncs.h | 2 | ||||
-rw-r--r-- | include/users.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/helperfuncs.h b/include/helperfuncs.h index 45c4da6f0..5eb6e22d8 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -72,7 +72,7 @@ void WriteCommon_NoFormat(userrec *u, const char* text); void WriteCommonExcept_NoFormat(userrec *u, const char* text); void WriteOpers_NoFormat(const char* text); -std::string GetServerDescription(char* servername); +std::string GetServerDescription(const char* servername); void WriteMode(const char* modes, int flags, const char* text, ...); void NoticeAll(userrec *source, bool local_only, char* text, ...); void ServerNoticeAll(char* text, ...); diff --git a/include/users.h b/include/users.h index 25db5eb08..0d812c0a4 100644 --- a/include/users.h +++ b/include/users.h @@ -170,7 +170,7 @@ class userrec : public connection /** The server the user is connected to. */ - char* server; + const char* server; /** The user's away message. * If this string is empty, the user is not marked as away. @@ -375,7 +375,7 @@ class WhoWasGroup char* host; char* dhost; char* ident; - char* server; + const char* server; char* gecos; time_t signon; |