summary refs log tree commit diff stats
path: root/src/common/userlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/userlist.c')
-rw-r--r--src/common/userlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/userlist.c b/src/common/userlist.c
index f6a091a4..868f8a38 100644
--- a/src/common/userlist.c
+++ b/src/common/userlist.c
@@ -192,7 +192,7 @@ find_cmp (const char *name, struct User *user, server *serv)
 }
 
 struct User *
-userlist_find (struct session *sess, char *name)
+userlist_find (struct session *sess, const char *name)
 {
 	int pos;