diff options
author | dequis <dx@dxzone.com.ar> | 2015-05-03 00:53:59 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-05-05 12:14:01 -0300 |
commit | 2d93f113374e455f44e94869a862fb87520c225d (patch) | |
tree | f40fa3498f5ecbf2a2c76ef3d572d5e29378b00c | |
parent | cc8cf750c68a4308eff984eb594484f4c81f05f8 (diff) |
irc_send_join: send topic before names
Also don't send modes - clients are supposed to request that if they
need it.
-rw-r--r-- | irc_send.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -174,11 +174,10 @@ void irc_send_join(irc_channel_t *ic, irc_user_t *iu) irc_write(irc, ":%s!%s@%s JOIN :%s", iu->nick, iu->user, iu->host, ic->name); if (iu == irc->user) { - irc_write(irc, ":%s MODE %s +%s", irc->root->host, ic->name, ic->mode); - irc_send_names(ic); if (ic->topic && *ic->topic) { irc_send_topic(ic, FALSE); } + irc_send_names(ic); } } |