mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Netsplit changes - all netsplit handling is now in netsplit/netjoin
files and fe-events.c doesn't know anything about it. Hides server +o mode change messages - it's displayed as '@' char before the nick in netjoin message. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@436 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3164aecad0
commit
abb46a0313
3 changed files with 125 additions and 31 deletions
|
|
@ -33,8 +33,6 @@
|
|||
#include "query.h"
|
||||
#include "nicklist.h"
|
||||
#include "ignore.h"
|
||||
#include "netsplit.h"
|
||||
#include "fe-netjoin.h"
|
||||
|
||||
#include "fe-query.h"
|
||||
#include "irc-hilight-text.h"
|
||||
|
|
@ -209,10 +207,6 @@ 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';
|
||||
|
|
@ -248,9 +242,6 @@ static void event_quit(const char *data, IRC_SERVER_REC *server, const char *nic
|
|||
if (ignore_check(server, nick, addr, NULL, data, MSGLEVEL_QUITS))
|
||||
return;
|
||||
|
||||
if (settings_get_bool("hide_netsplit_quits") && quitmsg_is_split(data))
|
||||
return;
|
||||
|
||||
print_channel = NULL;
|
||||
once = settings_get_bool("show_quit_once");
|
||||
|
||||
|
|
@ -598,7 +589,6 @@ static void read_settings(void)
|
|||
|
||||
void fe_events_init(void)
|
||||
{
|
||||
settings_add_bool("misc", "hide_netsplit_quits", TRUE);
|
||||
beep_msg_level = 0;
|
||||
|
||||
read_settings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue