1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-08 04:26:01 -04:00
Commit Graph

32 Commits

Author SHA1 Message Date
Timo Sirainen
bd7e173c63 Fixed that "nick already in split list, how?" bug with a patch from fuchs.
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-03-14 23:01:57 +00:00
Timo Sirainen
f37ea1af1e updated the glib error message with netsplits
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 15:08:28 +00:00
Timo Sirainen
f4897860b5 toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in some
systems, use our own is_...() functions now instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27 20:45:59 +00:00
Timo Sirainen
0ccf0ebdff argh, typofix :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 12:40:31 +00:00
Timo Sirainen
555e3e6395 Added an extra check to make sure nothing bad happens..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 12:40:09 +00:00
Timo Sirainen
3f59c18082 Fixed a memory leak + some cleanups
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 02:02:47 +00:00
Timo Sirainen
020861c698 Netsplit saved the NICK_REC, but didn't save the dynamically allocated strings
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-12-10 23:32:46 +00:00
Timo Sirainen
0abb62a471 When destroying data used from server in "server disconnected" signal, set
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-11-18 10:55:14 +00:00
Timo Sirainen
1b64509ae2 quitmsg_is_split() updated to check that top-level domains must be 2+ chars
and contain only alphabets.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:49:17 +00:00
Timo Sirainen
295d16536e quitmsg_is_split() fix - the hosts must contain the domain part now (ie.
"word1 word2" isn't a netsplit)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 13:17:11 +00:00
Timo Sirainen
1de695ae1a Rewrote quitmsg_is_split(). A bit faster now and doesn't match to quit
messages like "foo. bar."


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:53:08 +00:00
Timo Sirainen
5120660bf5 Removed the "domain is 2 or 3 chars" check from quitmsg_is_split() since
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-06-29 23:14:44 +00:00
Timo Sirainen
4a33801669 Added/moved several "typedef struct _XXX XXX;" to common.h so that
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
2001-01-01 07:45:54 +00:00
Timo Sirainen
9f2f1dc70a Server events: switched order of data and server parameters. it's now
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-05 21:12:52 +00:00
Timo Sirainen
e720a50a8a signal "netsplit add" -> "netsplit new"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 04:48:01 +00:00
Timo Sirainen
95bc994779 don't destroy all netsplits when someone joins back from split, only
the nicks that were in same server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-27 15:47:26 +00:00
Timo Sirainen
ce4eda21f4 Added debug
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-19 15:44:49 +00:00
Timo Sirainen
6e0d956f3d Netsplit cleanups. Added /SET netsplit_nicks_hide_threshold.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 21:17:45 +00:00
Timo Sirainen
e316475afd Netsplit fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-19 21:14:35 +00:00
Timo Sirainen
e395e87ded Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 15:39:44 +00:00
Timo Sirainen
87a8f71344 Bugfixes for non-irc server handling.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 17:19:16 +00:00
Timo Sirainen
5707140938 A few checks to check that we really are dealing with IRC servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 13:08:39 +00:00
Timo Sirainen
bb76eec0ff 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
2000-07-02 16:19:26 +00:00
Timo Sirainen
6fda8d1059 /topic's cmd_get_params() had wrong parameter count..
removed unused variable from netsplit.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 10:14:15 +00:00
Timo Sirainen
aca24d1795 Don't use cmd_get_params() to split the two hosts, it's a lot easier to
use strchr()..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:10:48 +00:00
Timo Sirainen
a5d31a195d Changed option handling in /commands. Irssi will now complain about
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-18 01:18:12 +00:00
Timo Sirainen
a7f5540cba /IRCNET command.
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-04 14:52:47 +00:00
Timo Sirainen
3e4f947934 removed common-setup.h, put all settings in it to files where they belong to.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 00:36:54 +00:00
Timo Sirainen
555a2bf929 Print nicks who quit IRC in netsplit message. See netsplit section in
docs/manual.txt for more information.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 16:40:25 +00:00
Timo Sirainen
ae5c4164c8 Netsplit displays the IRC network where it happened
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 12:47:22 +00:00
Timo Sirainen
d3dc9a1307 .. lots of changes ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04 10:32:42 +00:00
Timo Sirainen
c95034c6de ..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:03:38 +00:00