diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-16 21:23:30 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-16 21:23:30 +0200 |
commit | d28b7224897bf6cc9c5238068b1bf33ae264591d (patch) | |
tree | ce7cf0a528df43133ad6f69826408ea300bddae1 /src/kike.c | |
parent | 996e0912c26caeb08b8f3874c82177ec81aa14b3 (diff) | |
download | xK-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |