summary refs log tree commit diff stats
path: root/src/common/userlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/userlist.h')
-rw-r--r--src/common/userlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/userlist.h b/src/common/userlist.h
index 74ab4029..d0d79da8 100644
--- a/src/common/userlist.h
+++ b/src/common/userlist.h
@@ -26,7 +26,7 @@ int userlist_add_hostname (session *sess, char *nick,
 									char *hostname, char *realname,
 									char *servername, unsigned int away);
 void userlist_set_away (session *sess, char *nick, unsigned int away);
-struct User *userlist_find (session *sess, char *name);
+struct User *userlist_find (session *sess, const char *name);
 struct User *userlist_find_global (server *serv, char *name);
 void userlist_clear (session *sess);
 void userlist_free (session *sess);