summaryrefslogtreecommitdiff
path: root/src/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kike.c')
-rw-r--r--src/kike.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kike.c b/src/kike.c
index 0325e41..207ff76 100644
--- a/src/kike.c
+++ b/src/kike.c
@@ -378,12 +378,12 @@ server_context_init (struct server_context *self)
self->server_name = NULL;
str_map_init (&self->users);
- self->users.key_cmp = irc_strcmp;
+ self->users.key_xfrm = irc_strxfrm;
// TODO: set channel_free() as the free function?
str_map_init (&self->channels);
- self->channels.key_cmp = irc_strcmp;
+ self->channels.key_xfrm = irc_strxfrm;
str_map_init (&self->handlers);
- self->handlers.key_cmp = irc_strcmp;
+ self->handlers.key_xfrm = irc_strxfrm;
poller_init (&self->poller);
self->quitting = false;