diff options
author | Benjamin Jemlich <pcgod@users.sourceforge.net> | 2012-01-11 20:00:59 +0400 |
---|---|---|
committer | Benjamin Jemlich <pcgod@users.sourceforge.net> | 2012-01-15 01:47:32 +0400 |
commit | cc8e245c53ee6cbb1f6f17b1cba4a65531cffc98 (patch) | |
tree | 5b995b64f4f6a0d17deb5ac413b374e10397f720 /src/murmur/Server.h | |
parent | 63a384ddd5786365f1e403525450b30abed17d44 (diff) |
Mark Server::log as const
Diffstat (limited to 'src/murmur/Server.h')
-rw-r--r-- | src/murmur/Server.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/murmur/Server.h b/src/murmur/Server.h index 397c5eb86..788eb89d0 100644 --- a/src/murmur/Server.h +++ b/src/murmur/Server.h @@ -264,8 +264,8 @@ class Server : public QThread { QString addressToString(const QHostAddress &, unsigned short port); - void log(const QString &); - void log(ServerUser *u, const QString &); + void log(const QString &) const; + void log(ServerUser *u, const QString &) const; void removeChannel(int id); void removeChannel(Channel *c, Channel *dest = NULL); @@ -336,7 +336,7 @@ class Server : public QThread { void saveBans(); QVariant getConf(const QString &key, QVariant def); void setConf(const QString &key, const QVariant &value); - void dblog(const QString &str); + void dblog(const QString &str) const; // From msgHandler. Implementation in Messages.cpp #define MUMBLE_MH_MSG(x) void msg##x(ServerUser *, MumbleProto:: x &); |