mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Added backwards compatibility for /UPGRADE for transferring nick list..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2149 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c3429fa50e
commit
e8b71dcd98
@ -100,9 +100,14 @@ static void session_restore_channel(IRC_CHANNEL_REC *channel)
|
||||
signal_emit("event join", 4, channel->server, channel->name,
|
||||
channel->server->nick, channel->server->userhost);
|
||||
|
||||
data = g_strconcat(channel->server->nick, " ", channel->name, NULL);
|
||||
signal_emit("event 366", 2, channel->server, data);
|
||||
g_free(data);
|
||||
if (nicklist_find(CHANNEL(channel), channel->server->nick) == NULL) {
|
||||
/* FIXME: remove before .99 */
|
||||
irc_send_cmdv(channel->server, "NAMES %s", channel->name);
|
||||
} else {
|
||||
data = g_strconcat(channel->server->nick, " ", channel->name, NULL);
|
||||
signal_emit("event 366", 2, channel->server, data);
|
||||
g_free(data);
|
||||
}
|
||||
}
|
||||
|
||||
static void sig_connected(IRC_SERVER_REC *server)
|
||||
|
Loading…
Reference in New Issue
Block a user