summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-netsplit.c
AgeCommit message (Collapse)Author
2018-02-09try to make sure the server is still good enough to call ischannel when ↵ailin-nemui
printing netsplit/join
2018-01-28Revert more of the netsplit print optimisation to fix crashesdequis
Now iterating over all servers to avoid crashes on server_ischannel(), which is a macro for server->ischannel(), so it dies horribly when it's null. Doesn't help that IS_IRC_SERVER() always returns true on null.
2018-01-10revert netsplit print optimisationailin-nemui
this reverts part of #465 unfortunately we need to further refine the initial patch - when filtering by channel, the whole split is cleaned up nevertheless - something similar happens for the netjoins - furthermore, we cannot wait only for PUBLIC msgs, j/p/q are equivalently relevant for temporal integrity
2017-02-14Prevent some potential null-pointer deferences.LemonBoy
Spotted by our friend scan-build.
2016-11-23Don't shadow the 'channel' variable when printing the netjoins.LemonBoy
This is the root cause of #567
2016-11-23Minor corrections to the netsplit code.LemonBoy
2016-06-26Such draft. Very wow.LemonBoy
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-09Show voices in netsplits. Fix voices breaking netjoins. Patch by Maarten vanTimo Sirainen
der Zwaart. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3125 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28/NETSPLIT now prints the server tag as well.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12Add commas between splitted nicks. patch by QrczakTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10Netsplit saved the NICK_REC, but didn't save the dynamically allocated stringsTimo Sirainen
which were part of it. Removed it now and replaced it with saving only op/halfop/voice status. Might have caused some crashes? (hopefully did :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02Moved some stuff from irc to core. Added command_bind_proto() function toTimo Sirainen
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29/SET netsplit_nicks_hide_threshold must not be smaller than /SETTimo Sirainen
netsplit_max_nicks or no nicks were printed with netsplits. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19/NETSPLIT prints nicks now sorted and prints @ or + before channel ifTimo Sirainen
user was opped/voiced before split. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03signal "netsplit add" -> "netsplit new"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-01Netsplit printing fixes.Timo Sirainen
Print multiple identical mode changes in one line (mode +o nick by nick1, nick2, nick3) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30While waiting for more netsplits/netjoins, if anything else is printedTimo Sirainen
to screen, print the current netsplit/netjoin messages before that text. not tested, hope it works ;) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@900 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26Sometimes netsplit messages didn't get printed at all (those that cameTimo Sirainen
after 3 seconds after split started) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@875 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28Cleaned up printtext.c, split part of it to formats.cTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14Netsplit cleanups. Added /SET netsplit_nicks_hide_threshold.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-10Moved join, part, quit, kick, nick, invite and topic printing to core.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28fixes for multiprotocol supportTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23Added syntaxes of all commands in comments, they're going to be used toTimo Sirainen
autogenerate help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23Printing netsplit nicks printed one too less nicks (netsplit_max_nicks-1)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02When netsplit is over, irssi prints "Netsplit over, joins: (nicks)" andTimo Sirainen
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
2000-06-14In netsplit quit messages, display @ in front of operators' nicks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11Check ignores when printing net split messages.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-27Netsplit messages are now printed with QUITS message level.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25Didn't work, fixed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25Print nicks who quit IRC in netsplit message. See netsplit section inTimo Sirainen
docs/manual.txt for more information. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10Netsplit displays the IRC network where it happenedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04.. lots of changes ..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564