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

673 Commits

Author SHA1 Message Date
Wouter Coekaerts
df69be65d4 fix segfault on /quit by using a linked list node after freeing it (by Chris Moore)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-17 20:20:28 +00:00
Valentin Batz
0bf5adcb93 Initialize the isupport functions on /upgrade aswell
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-24 18:17:57 +00:00
Wouter Coekaerts
0e7af32922 Don't crash if receiving broken privmsg without source (which bitlbee can send if you msg yourself)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-02 20:40:21 +00:00
Wouter Coekaerts
0f54aa2285 Fix crash on netsplit+join after /upgrade from 0.8.9
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-18 19:50:09 +00:00
Valentin Batz
fd476e8b31 Make the compiler happy by replacing 'const char *' by 'char *'.
Pass the pointer to the SERVER_REC to dcc_ctcp_message.
Recode 'own' messages back for printing just before they actually get printed. (ugly but more effective than adding all the signals in fe-recode and doing it there)
Replaced SERVER_REC by IRC_SERVER_REC in dcc-chat.c since it's belongs to IRC(makes the compiler happy again).

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-10 18:32:32 +00:00
Wouter Coekaerts
fd6c2df7f4 don't crash if server sends weird NICK line, patch by Jarno Honkanen (Bug 216)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 13:30:23 +00:00
Wouter Coekaerts
4a8ebb150a - rename "whois not found" to "whois try whowas", because that's what needs to be done when the signal is sent (and it doesn't mean whois_not_found should be printed)
- rename "whois event noserver" to "whois event not found", because the signal means the nickname wasn't found (but it comes as a "no such server" because it was a /whois nick nick), whois_not_found should be printed, and so it makes sense to also use it for the next fix:
- send "whois event not found" for 401, when auto_whowas is off, so the message is displayed correctly (Bug 295)
- handle 402 the same with auto_whowas off as with on, (fixes /whois with not existing server specified, with auto_whowas off).
- and since the auto_whowas on and off cases are similar now, merge them together, so they stay consistent.

- pass every argument given to /whowas to the server, not just the first (count). Fixes remote whowas (Bug 256)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3988 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 01:36:06 +00:00
Valentin Batz
e4a562d9ef moved the _NET_SENDBUF_REC definition out of core/net-sendbuffer.c and irc/proxy/listen.c into core/net-sendbuffer.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-24 19:42:17 +00:00
Valentin Batz
bc91469cf7 replaced net_transmit by net_sendbuffer_send in the irssi-proxy module, there were no checks if the buffer was sent completely with net_transmit
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-24 19:25:47 +00:00
Wouter Coekaerts
20bc8df655 Fix notify with more nicks than max_whois_in_cmd (Bug 257), based on patch by Krzysztof Kowalik (Borys)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3932 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-15 23:04:06 +00:00
Wouter Coekaerts
6d42a00287 Fix dcc resume crash (only in the rc's and svn) (Bug 287)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3895 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-01 16:07:22 +00:00
Wouter Coekaerts
37941e84fe Fix server->last_nick leak by Toby (Bug 267)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-06-24 16:43:18 +00:00
Valentin Batz
4d5200a4e1 Fixed a bug with isupport, after an upgrade from 0.8.9 prefix very well can be NULL, so check for it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-14 12:32:03 +00:00
Valentin Batz
c79e690e88 Fixed a bug where the channel list to join/rejoin on reconnect gets too long, not all channels will be joined. The channel list is splitted into multiple lines right now when it's too long. (http://bugs.irssi.org/index.php?id=108&do=details)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-11 18:52:12 +00:00
Wouter Coekaerts
e4c55c9d1f Remember alternate_nick and max_whois on reconnect (Bug 181)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-26 11:51:40 +00:00
Wouter Coekaerts
e1c7d7e260 Don't use a retarted ip for passive DCC
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3722 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07 16:02:06 +00:00
Wouter Coekaerts
418136656d Fix memleak in /UNBAN, by Toby Peterson (Bug 215)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3717 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 19:30:08 +00:00
Wouter Coekaerts
e159d8b2f0 Fix memleak in dcc get, by Toby Peterson (Bug 214)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:47:05 +00:00
Wouter Coekaerts
bd8712dde1 Fix memleak in several commands that used cmd_return_error when they should be using cmd_param_error, by Toby Peterson (Bug 213)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:45:47 +00:00
Wouter Coekaerts
abb28cae20 Add libtool's -module flag to get built properly on all platforms, by Toby Peterson (Bug 212)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:43:39 +00:00
Valentin Batz
5a8b583347 Fixed output of /hilight (add a space after -levels if any).
Added recode to dcc-chat, patch by Jean-Yves Lefort

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3708 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-11 17:27:09 +00:00
Valentin Batz
19e800cf23 Fixed memory leaks when destroying a channel, when loading nonexisten scripts and in topics, patch by Toby Peterson
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-06 21:31:58 +00:00
Wouter Coekaerts
e7b3362bd5 Compile fix: make it c99 again, by Timothy Hatcher (Bug 184)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-04 22:28:08 +00:00
Valentin Batz
cc10292c21 Update our own nickrec->gone flag on /away <reason> or on /away
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-03 15:51:03 +00:00
Wouter Coekaerts
b52bbcfbbf improve queuing commands, patch by Timothy Hatcher (Bug 168)
(patch changed so it doesn't wait one second after the 001 event)

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03 19:22:53 +00:00
Wouter Coekaerts
a38c7d1631 Fix multiple entries for local IP in /etc/hosts prevents connecting, patch by eridius (Bug 167)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03 18:57:08 +00:00
Wouter Coekaerts
124e79aeeb "ban remove" signal should pass who removed it, patch by Timothy Hatcher (Bug 166)
added it to docs/signals.txt too


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03 18:54:39 +00:00
Valentin Batz
7be7dd374c Added <tag>/<target> support for recode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20 13:59:15 +00:00
Valentin Batz
5f81451df6 Fixed a memleak, when using recode_out you have too free the memory it allocates for you.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-07 17:48:21 +00:00
Wouter Coekaerts
2ffae72fc0 If available, send who set topic and when to irssi-proxy clients
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-07 17:02:40 +00:00
Valentin Batz
f451305234 Reverting bugfix for 'usermode activates after autosendcmd' because it breaks usermode for reconnections
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-23 17:06:06 +00:00
Valentin Batz
ed88bc5e42 Fixed bug where usermode was not sent correctly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-19 17:25:18 +00:00
Valentin Batz
5a7e889f4f Fixed bug 120 where proxy doesn't set the server_rec->away_reason
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-14 16:41:02 +00:00
Wouter Coekaerts
2a0ba14c0c Fix crash with non-irc servers
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-12 17:06:11 +00:00
Wouter Coekaerts
4b40495a5c Also remember other (not k or l) modes with arguments
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3316 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-10 21:23:38 +00:00
Wouter Coekaerts
8b8c58f4ef Remember key not only with channel->key, but also in channel->mode (in the statusbar) on key-hiding-servers, like before isupport
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3315 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-10 21:09:02 +00:00
Wouter Coekaerts
b832f1f7b2 add d,q,f and J to CHANMODES default, to work a bit better with dancer and possibly others
(Dear irc server coder, please send isupport with CHANMODES, thank you)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3313 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-08 11:58:06 +00:00
Wouter Coekaerts
c5982338c1 Fix own nick changes in irssi-proxy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-05 12:36:57 +00:00
Geert Hauwaerts
4cc4ddc1a7 Fixed /KNOCK support.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-18 20:56:33 +00:00
Geert Hauwaerts
adfa7aff12 Bugfix: http://bugs.irssi.org/?do=details&id=121
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3299 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15 21:27:22 +00:00
Wouter Coekaerts
f84f03706c Fix /WHOIS -yes (Bug 67)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-12 22:45:36 +00:00
Timo Sirainen
7974c252a0 Recent WHOIS changes broke nick's gone/oper flags. Patch by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-12 13:12:34 +00:00
Timo Sirainen
119c028945 send max 15 005 parameters at once. Patch by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3288 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-31 22:32:58 +00:00
Timo Sirainen
259331e0b1 Allow '@' characters in nick.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3287 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-24 06:31:08 +00:00
Timo Sirainen
226a567562 Recode patch by decadix/senneth
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20 00:03:40 +00:00
Timo Sirainen
334b07ac28 005 fix. Patch by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 23:24:24 +00:00
Timo Sirainen
169086ab51 /DCC SEND didn't actually use /SET dcc_upload_path
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 20:41:47 +00:00
Timo Sirainen
591161b34e Handle 432 numeric (errorneus nickname) as "nick in use". Fixes problems
with ircnet 2.11 ircd when irssi tries to reconnect using UID as nick. Patch
by Petr Baudis


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-14 12:12:10 +00:00
Timo Sirainen
c3919e66a8 Don't autoget files sent to channels, unless dcc_autoget_masks is set.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3271 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 21:56:52 +00:00
Timo Sirainen
5133583132 Some DCC SERVER fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 16:07:40 +00:00