aboutsummaryrefslogtreecommitdiff
path: root/src/kike.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-07-16 21:23:30 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-07-16 21:23:30 +0200
commitd28b7224897bf6cc9c5238068b1bf33ae264591d (patch)
treece7cf0a528df43133ad6f69826408ea300bddae1 /src/kike.c
parent996e0912c26caeb08b8f3874c82177ec81aa14b3 (diff)
downloadxK-d28b7224897bf6cc9c5238068b1bf33ae264591d.tar.gz
xK-d28b7224897bf6cc9c5238068b1bf33ae264591d.tar.xz
xK-d28b7224897bf6cc9c5238068b1bf33ae264591d.zip
str_map::key_cmp -> str_map::key_xfrm
It seemed to be almost too easy to be true, and it actually was. Now it should work.
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;