summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2011-11-21 21:28:28 +0000
committerahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564>2011-11-21 21:28:28 +0000
commit9cc7ea504c53c5cfe9500c4b674bd7f748981697 (patch)
tree16281aa30fbcef82e3c32e8ccdd3338823919b9a /src
parent796134ffbd57eb47922bfa44a9823fae404ab522 (diff)
downloadirssi-9cc7ea504c53c5cfe9500c4b674bd7f748981697.zip
Fix warning.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5210 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/irc-nicklist.c2
-rw-r--r--src/irc/core/irc-nicklist.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c
index 8a9ab1ec..8a75233c 100644
--- a/src/irc/core/irc-nicklist.c
+++ b/src/irc/core/irc-nicklist.c
@@ -32,7 +32,7 @@
/* Add new nick to list */
NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick,
int op, int halfop, int voice, int send_massjoin,
- char *prefixes)
+ const char *prefixes)
{
NICK_REC *rec;
diff --git a/src/irc/core/irc-nicklist.h b/src/irc/core/irc-nicklist.h
index b360d542..7302556b 100644
--- a/src/irc/core/irc-nicklist.h
+++ b/src/irc/core/irc-nicklist.h
@@ -6,7 +6,7 @@
/* Add new nick to list */
NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick,
int op, int halfop, int voice, int send_massjoin,
- char *prefixes);
+ const char *prefixes);
/* Remove all "extra" characters from `nick'. Like _nick_ -> nick */
char *irc_nick_strip(const char *nick);