diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-08 21:16:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-08 21:16:05 +0000 |
commit | 689c27adfd88e0af0524c93d8eff4c44f034cff1 (patch) | |
tree | 1d28fbaabd551d22a701434a106bfe34083592c5 /include | |
parent | 21cf60233cdee26118774a86ea612d1c5671ba7a (diff) |
cmode now returns const char* as it returns a pointer to a literal string and shouldnt be messed with
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3557 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/message.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/message.h b/include/message.h index fb0e7cb64..8741b8293 100644 --- a/include/message.h +++ b/include/message.h @@ -40,7 +40,7 @@ void ChangeName(userrec* user, const char* gecos); void ChangeDisplayedHost(userrec* user, const char* host); int isident(const char* n); int isnick(const char* n); -char* cmode(userrec *user, chanrec *chan); +const char* cmode(userrec *user, chanrec *chan); int cstatus(userrec *user, chanrec *chan); int has_channel(userrec *u, chanrec *c); void TidyBan(char *ban); |