mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
When netsplit is over, irssi prints "Netsplit over, joins: (nicks)" and
hides all the real JOIN messages. Fixed also some netsplit bugs. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@414 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
cf7d6915f5
commit
bb76eec0ff
10 changed files with 394 additions and 20 deletions
|
|
@ -208,6 +208,10 @@ static void event_join(const char *data, IRC_SERVER_REC *server, const char *nic
|
|||
|
||||
g_return_if_fail(data != NULL);
|
||||
|
||||
if (settings_get_bool("hide_netsplit_quits") &&
|
||||
netsplit_is_join(server, nick, addr))
|
||||
return;
|
||||
|
||||
params = event_get_params(data, 1, &channel);
|
||||
tmp = strchr(channel, 7); /* ^G does something weird.. */
|
||||
if (tmp != NULL) *tmp = '\0';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue