summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 3d98c500a..9cfecb850 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -280,7 +280,7 @@ int isnick(const char* n)
* % for halfop etc. If the user has several modes set, the highest mode
* the user has must be returned. */
-char* cmode(userrec *user, chanrec *chan)
+const char* cmode(userrec *user, chanrec *chan)
{
if ((!user) || (!chan))
{