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

697 Commits

Author SHA1 Message Date
Emanuele Giaquinta
38c3984d10 Fix irc_nickcmp_ascii by mapping only ASCII 65-90 to the corresponding
lowercase counterparts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4496 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:51:30 +00:00
Emanuele Giaquinta
0e4fc15add Use rfc1459 comparison for nicks by default (it is not a functional change
because irc_nickcmp_ascii is bogusly the same as irc_nickcmp_rfc1459).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:49:11 +00:00
Wouter Coekaerts
0a9a05c5c0 Update chanop flag before emitting nick mode changed signal (patch by Johan Kiviniemi)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4492 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-12 13:19:35 +00:00
Wouter Coekaerts
9c2d621cc6 Oops. Update address correctly now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08 18:41:10 +00:00
Wouter Coekaerts
023026e12b Update FSF address
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08 18:16:58 +00:00
Emanuele Giaquinta
6f9dbc794d Do not recode the channel name used as target for the recoding of
input line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4486 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06 16:15:31 +00:00
Emanuele Giaquinta
7ae34b2877 Off-by-one in parsing the channel name.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4485 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06 15:13:30 +00:00
Emanuele Giaquinta
bfc0b362e8 Move input recoding in irc_server_event.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-05 15:37:58 +00:00
Emanuele Giaquinta
aa172e0afb Do not send hostname to server, rather use username as the second
argument to USER, patch by Alex Tarkovsky (bug #488).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4468 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28 14:11:02 +00:00
Emanuele Giaquinta
a42b4202f2 Fix DCC get when file size is 0, bug #494.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-25 19:22:39 +00:00
Geert Hauwaerts
9898328865 Local opers on IRCnet (umode +O) get the server->server_operator flag.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-09 14:55:42 +00:00
Emanuele Giaquinta
67e5a315b0 When connecting and the nick is invalid, abort the connection instead of looping indefinitely in event_nick_in_use.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-17 15:07:14 +00:00
Emanuele Giaquinta
7484c8b373 Remove dcc_queue_add_passive, use instead another argument in dcc_queue_add to initialize rec->passive.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4407 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-08 19:02:20 +00:00
Wouter Coekaerts
7e7c841ead Don't get confused by a join command with too many arguments; keys can't have spaces in them. (Bug 437)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-08-20 17:56:06 +00:00
Wouter Coekaerts
59f91046c1 don't wait for all /names replies before syncing if we can't combine queries anyways. Patch by jilles
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4321 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-08-20 13:40:03 +00:00
Wouter Coekaerts
740987a39b New perl command send_raw_first, patch by ComradeP (Bug 413)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-05-04 10:07:23 +00:00
Jochen Eisinger
4de9baf8f1 Removed all srand calls and added a single srand invokation in at startup
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-03-26 08:42:34 +00:00
Jochen Eisinger
47704b800d prefixed all calls to rand() with a call to srand(time(NULL)), so we get
halfway random behaviour.



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-03-25 21:59:57 +00:00
Wouter Coekaerts
71db22a171 Ignore joins without a nick from broken servers
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-03-01 00:02:48 +00:00
Valentin Batz
3eedfa4e12 leave parameter count check as it was before
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-02-17 23:18:34 +00:00
Valentin Batz
39d58af912 check the paramcount for DCC RESUME more strictly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-02-17 23:07:02 +00:00
Valentin Batz
7e58590958 Only send QUOTE immediately when server didn't yet sent the 001 event
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-30 18:48:44 +00:00
Timo Sirainen
a975788d15 If dcc_own_ip contains IPv4 address, listen only in IPv4.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-28 16:04:44 +00:00
Valentin Batz
f517f0cd46 changed /QUOTE to be sent immediately, since the queueing was changed, it's not possible to do things like /quote PONG :cookie before event 001 has been received (required on some EFNet servers when you haven't got an identd)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-26 21:54:02 +00:00
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