summaryrefslogtreecommitdiff
path: root/src/irc/core/netsplit.c
AgeCommit message (Collapse)Author
2004-01-20isupport patch by David LeadbeaterTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-06-03Don't require hostmasks to be different with netsplits. Fixes dalnetTimo Sirainen
netsplit detection. Patch by coekie git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14Make sure two urls aren't thought of as netsplitTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16Better !channel support - window items now have "visual_name" and channelsTimo Sirainen
and queries also have "name". Normally they're identical but with !channels the visible_name contains the short !channel name, while name contains full !ABCDEchannel name. The visible_name should be used whenever displaying the channel name, or as printtext()'s target. So, this breaks a few scripts in !channels, they need to be modified to use $channel->{visible_name} instead. Also /LAYOUT SAVE should finally work properly with !channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14Fixed that "nick already in split list, how?" bug with a patch from fuchs.Timo Sirainen
I didn't realize someone else could change nick to one in the split list. :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13updated the glib error message with netsplitsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in someTimo Sirainen
systems, use our own is_...() functions now instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27argh, typofix :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27Added an extra check to make sure nothing bad happens..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11Fixed a memory leak + some cleanupsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2236 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-18When destroying data used from server in "server disconnected" signal, setTimo Sirainen
the data to NULL as well, the server record is still used after the signal is finished (the channels it uses are destroyed, which may trigger scripts etc.) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21quitmsg_is_split() updated to check that top-level domains must be 2+ charsTimo Sirainen
and contain only alphabets. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14quitmsg_is_split() fix - the hosts must contain the domain part now (ie.Timo Sirainen
"word1 word2" isn't a netsplit) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Rewrote quitmsg_is_split(). A bit faster now and doesn't match to quitTimo Sirainen
messages like "foo. bar." git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29Removed the "domain is 2 or 3 chars" check from quitmsg_is_split() sinceTimo Sirainen
Undernet nowadays prints "*.net *.split" quit message for netsplits and the netsplit quit message can't be faked anyway with current IRC servers. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1598 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01Added/moved several "typedef struct _XXX XXX;" to common.h so thatTimo Sirainen
they're known to all files and I don't need those stupid "void *xxx" anymore just to avoid useless #include. Header files themselves don't either include others as often anymore. Added channel->ownnick to point to our NICK_REC in channel's nicks. Gives a minor speedup in few places :) Moved completion specific lastmsgs from channel/server core records to fe-common/core specific records. Also changed the nick completion logic a bit so it should work better now. Removed completion_keep_publics_count setting, but changed the meaning of completion_keep_publics to same as _count was before. Nick completion doesn't have any time specific code anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05Server events: switched order of data and server parameters. it's nowTimo Sirainen
SERVER_REC *server, const char *data, .. hope this doesn't cause too many problems :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 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-11-27don't destroy all netsplits when someone joins back from split, onlyTimo Sirainen
the nicks that were in same server git-svn-id: http://svn.irssi.org/repos/irssi/trunk@892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-19Added debugTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@772 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-09-19Netsplit fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@663 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-30Bugfixes for non-irc server handling.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15A few checks to check that we really are dealing with IRC servers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@465 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-20/topic's cmd_get_params() had wrong parameter count..Timo Sirainen
removed unused variable from netsplit.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18Don't use cmd_get_params() to split the two hosts, it's a lot easier toTimo Sirainen
use strchr().. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18Changed option handling in /commands. Irssi will now complain aboutTimo Sirainen
unknown options and missing option arguments. Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04/IRCNET command.Timo Sirainen
PARAM_FLAG_NOQUOTES flag for cmd_get_params() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02removed common-setup.h, put all settings in it to files where they belong to.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@272 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
2000-04-26..adding new files..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564