diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-04 21:00:02 -0400 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-04 21:00:02 -0400 |
commit | 57c96f7be2511a0a50015512dc03a30ba0923862 (patch) | |
tree | c3ae43a58ab269ca916e160b3b46445570bf30d5 /irc_channel.c | |
parent | 0b5cc72bc7b4192ff5b474b81038c299d03721f1 (diff) |
Restored the rename command.
Diffstat (limited to 'irc_channel.c')
-rw-r--r-- | irc_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_channel.c b/irc_channel.c index 27216f3c..27f33619 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -81,7 +81,7 @@ int irc_channel_free( irc_channel_t *ic ) int irc_channel_add_user( irc_channel_t *ic, irc_user_t *iu ) { - if( !irc_channel_has_user( ic, iu ) ) + if( irc_channel_has_user( ic, iu ) ) return 0; ic->users = g_slist_insert_sorted( ic->users, iu, irc_user_cmp ); |