Emanuele Giaquinta
725ccc249d
Check server's connected flag rather than net-sendbuffer pointers in
...
sig_server_quit.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-22 01:07:11 +00:00
Jilles Tjoelker
fe4c5abe28
Preserve op/halfop/voice when /upgrading from before the prefixes change
...
(r4922). This also restores them when /upgrading from
a revision between r4922 and this one.
Note that other prefixes are still lost when /upgrading
from pre-r4922 irssi.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-13 21:42:42 +00:00
Jilles Tjoelker
251d956ddc
prefix_add(): copy correct number of bytes
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-12 22:04:37 +00:00
Emanuele Giaquinta
a065f97f87
Recode outgoing irc quit messages.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-02 16:13:15 +00:00
Emanuele Giaquinta
997a25c522
Factor the code to send an irc action into a function.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 18:35:10 +00:00
Jilles Tjoelker
ee34525905
Revert r4924, the comment is correct after all.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 19:38:00 +00:00
Emanuele Giaquinta
184e4071c1
Remove obsolete part of comment.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 18:01:04 +00:00
Jilles Tjoelker
3ddd984bfc
Allow /ban, /unban, /kickban, /knockout if channel is not synced.
...
Requesting ban lists from an unsynced channel will ask
them from the server, banning a user whose u@h irssi
does not know will ban nick!*@* and only bans irssi
knows about can be removed.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4925 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 20:43:59 +00:00
Jilles Tjoelker
6fe433ca0b
Remove obsolete/wrong part of comment (irc server cmdcount).
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 18:49:31 +00:00
Jilles Tjoelker
89cd47bf3a
Allow storing multiple "other" prefixes such as +q and +a.
...
Original patch by JasonX, somewhat changed by exg and me.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 00:16:51 +00:00
Emanuele Giaquinta
718d85ceab
Do not check in irc cmd_away that the active item server is an irc
...
server, it prevents /away from working when the active item server is
not an irc one. The check is already performed in
irc_server_send_away, so /away -one is unchanged. Patch by Gabor Adam
Toth.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16 16:09:44 +00:00
Jilles Tjoelker
c5109787eb
Remove /wallchops, do not suggest other commands in /help wall.
...
The only major ircd supporting /wallchops also supports
/notice @#channel.
The /wall command has used /notice @#channel (if it is
supported which is pretty much everywhere) for a while
and so it can be used without problems on large channels.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4902 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12 21:00:05 +00:00
Emanuele Giaquinta
27be963a86
Recode outgoing irc away messages, bug #412 .
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4901 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12 20:49:48 +00:00
Emanuele Giaquinta
cf41f6d45d
Export server_send_away and use it in irc-servers-reconnect.c:sig_connected
...
instead of duplicating the code.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4900 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12 20:31:41 +00:00
Emanuele Giaquinta
04ea54a1a0
recode.h include fixup.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-10 00:31:00 +00:00
Emanuele Giaquinta
9003a61629
Move recoding of outgoing messages into irc send_message routine. Handlers for
...
message own_{private,public} now receive the message in the client encoding.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 23:33:24 +00:00
Emanuele Giaquinta
110f94ceb6
Recode a WALL message also when sending a notice to @#channel.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-08 22:09:20 +00:00
Jochen Eisinger
f8461d39bc
introduce the type Irssi::Irc::Client and signals to communicate with proxy
...
clients to allow for scripting parts of the irssi-proxy.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 12:13:36 +00:00
Jilles Tjoelker
e563de4b81
Fix display of ratbox-style operspy whois (/whois !nick).
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-30 23:55:04 +00:00
Emanuele Giaquinta
9fa8cbe7a2
Revert recode changes r4483 and r4715.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-02 13:15:38 +00:00
Emanuele Giaquinta
d917a439da
Cosmetic.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-24 15:43:12 +00:00
Emanuele Giaquinta
82d6797306
Reindent.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 10:05:44 +00:00
Emanuele Giaquinta
3236daa97a
Fix leaks.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 09:59:59 +00:00
Emanuele Giaquinta
f053542dcf
Extend net_sendbuffer by adding a LINEBUF_REC member and a net_sendbuffer_receive_line
...
function to read linewise from the associated io channel.
Rewrite irc/dcc/proxy read logic on top of it.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-22 22:38:29 +00:00
Emanuele Giaquinta
ba80576b1e
Remove some global variables used to store settings values, instead get the
...
values when needed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-19 21:55:04 +00:00
Emanuele Giaquinta
2aac604293
Remove workaround no longer needed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-11 21:27:12 +00:00
Emanuele Giaquinta
8ccdc7267f
Simplify recode target computation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 14:51:06 +00:00
Emanuele Giaquinta
31c341ff56
Replace missed strncasecmp calls with g_ascii_strncasecmp.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 19:06:32 +00:00
Emanuele Giaquinta
f74cc02f97
Disable versioning for the proxy module, patch by darix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 15:21:45 +00:00
Emanuele Giaquinta
72930e0be3
Use g_ascii_str{,n}casecmp for case insensitive comparison with
...
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 12:17:55 +00:00
Emanuele Giaquinta
7df46597e1
Use g_ascii_str{,n}casecmp for case insensitive comparison with
...
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 12:01:16 +00:00
Emanuele Giaquinta
2b0ebef911
Remove unneeded includes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07 19:33:23 +00:00
Emanuele Giaquinta
3e37906cf7
Remove long unmaintained botnet module.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-04 18:15:51 +00:00
Emanuele Giaquinta
af3b0b2b93
Replace g_strdup+g_str{up,down} with g_ascii_str{up,down}.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-04 10:42:23 +00:00
Emanuele Giaquinta
0eb386ecd8
Move output recoding in irc_send_cmd_full.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-16 23:28:53 +00:00
Emanuele Giaquinta
e79829b6a5
Remove unneeded includes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4709 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05 15:03:33 +00:00
Emanuele Giaquinta
f5194e296d
Remove undocumented /RAWQUOTE command.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 17:30:14 +00:00
Emanuele Giaquinta
3c7c3941d7
Remove .cvsignore files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 11:49:10 +00:00
Jilles Tjoelker
7d30a05879
Apply -usermode before -autosendcmd.
...
The -usermode is now implicitly treated as a requested
usermode change; the MODE command setting it is not
redirected. This is good because user MODE may or may
not give a reply and this could be confused with the MODE
message indicating the initial usermode.
Possible issue here: '-' modes in -usermode persist only
until you change your umode via /mode.
Bug #548
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-23 16:48:24 +00:00
Jilles Tjoelker
0efac764f6
Pass through (redirect) WHOWAS reply to proxy clients.
...
Bug #490 (patch from Alex Schumann)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4644 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-18 21:21:51 +00:00
Jilles Tjoelker
18f2a0fc67
Do not allow /ping by itself to ctcp ping a channel.
...
This is like the new /ver behaviour.
Bug #542 , patch by Geert with tweaks by exg
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-17 16:35:47 +00:00
Jilles Tjoelker
90b66dbe6c
Rework redirections to deal with multiple concurrent redirects better.
...
These mostly happen when doing remote whois and the
target server is slow.
The code uses the source server but will try to do what it
can if servers think they need to mask it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-14 23:02:40 +00:00
Jilles Tjoelker
78dad04c7b
Remove /notify -idle, it can only work with not-nice automated remote whois.
...
(causes infrequent "server load too heavy" etc)
If people really want this, they should write a script.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-31 22:58:44 +00:00
Emanuele Giaquinta
d9782fab84
Fallback on rename also when errno is ENOSYS/EOPNOTSUPP because
...
FUSE/BSD sets this value when link is not available.
Based on a patch by Juuso Tähkäpää, bug 536.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4631 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-29 15:37:31 +00:00
Jilles Tjoelker
5f6a7547ee
Recognize 431/461 (not enough parameters) as end of whois reply.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-18 20:47:44 +00:00
Jilles Tjoelker
b99baa96a5
Also copy oper status when an already known user joins another channel.
...
(Realname and away status were already copied.)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4623 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-16 17:26:59 +00:00
Jilles Tjoelker
94c6e008ad
Update oper status from userhost reply.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-16 17:20:12 +00:00
Jilles Tjoelker
b0b26b6e77
Get -kicks and -msgs from TARGMAX and MAXTARGETS 005 tokens.
...
We do not do this for WHOIS because the resulting replies
tend to be buggy and inconsistent.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-12 15:09:12 +00:00
Emanuele Giaquinta
de4c2af324
Use autoconf PACKAGE_TARNAME/PACKAGE_VERSION macros rather than automake
...
PACKAGE/VERSION ones.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-07 14:55:14 +00:00
Emanuele Giaquinta
022b6f183a
Fix typo.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 14:15:12 +00:00
Jilles Tjoelker
8312144547
Move the check for 4xx numeric for join failures last, so
...
that the CHANNEL_REC is still around when handlers for
specific numerics are executed. This allows removing the
ugly special case for 437; I will also use this for 470
(channel forwarding).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-06 21:43:23 +00:00
Jilles Tjoelker
0b8bee080a
If 001 has not been received yet, also treat "Banned" or
...
"Bad user info" (case insensitive) in an ERROR message as
an indication of a server ban.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-29 18:45:14 +00:00
Jilles Tjoelker
9d6335735b
Add support for the ACCEPT command, which is part of the
...
CALLERID server side ignore system in hybrid7 and derived
ircds.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4546 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-08 18:49:24 +00:00
Jilles Tjoelker
10ae40c368
Various updates/enhancements/fixes to the help files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-08 15:59:02 +00:00
Jilles Tjoelker
ff63982d4f
Don't add the same mask to the knockout list multiple times.
...
This fixes bug #510 . Note that #510 only happened if multiple
bans were sent before the MODE came back and multiple unbans
were sent before the MODE came back.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06 17:57:28 +00:00
Jilles Tjoelker
c0674522ae
- Repair channels_rejoin_unavailable. Enabled by default,
...
this retries joins that failed because of netsplits
(channel temporarily unavailable (437), duplicate channel)
A few servers abuse 437 for juped channels which should
not be retried, you should disable channels_rejoin_unavailable
if this is a problem.
- Display 437 and 407 numerics if channels_rejoin_unavailable
is not enabled.
Bug #495
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4537 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-03 13:08:47 +00:00
Jilles Tjoelker
f8eada63c7
Pick up host changes on charybdis and ircu servers (396 numeric).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 23:27:27 +00:00
Jilles Tjoelker
bf937e5e69
Fix recognition of realnames starting with spaces in /who replies.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4507 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 19:29:38 +00:00
Emanuele Giaquinta
4058a9338f
Use CASEMAPPING dependent comparison to match channel names.
...
Patch by Jon Mayo, bug #436 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:56:08 +00:00
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
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
Timo Sirainen
0fe183b8c9
Don't crash if dcc chated user changes nick
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 15:55:27 +00:00
Timo Sirainen
372903e72e
Fix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 15:52:04 +00:00
Timo Sirainen
6f45115b5e
Fixed handling WHOIS printing once and for all. Everything unknown between
...
"beginning of whois" and "end of whois" events is now printed as
whois_special. Removed whois_registered and whois_help, they're printed with
whois_special as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 15:42:21 +00:00
Timo Sirainen
e9c3a217e3
Don't replace channel key when receiving channel mode numeric. It could be a
...
fake key there.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 14:50:47 +00:00
Timo Sirainen
d12202f79e
Changed default SSL port to 6697
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-06 20:33:28 +00:00
Timo Sirainen
cf1b6078dd
Crashed with spaces in filenames, patch by Francesco Fracassi
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-14 12:28:29 +00:00
Timo Sirainen
777bb76195
noinst_HEADERS -> pkginc_HEADERS
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-10 20:30:57 +00:00
Timo Sirainen
fda6dce872
Never send hostname beginning with /+-[0-9]/ in USER command, that could
...
be interpreted as mode change with ircnet ircd.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-10 13:45:27 +00:00
Timo Sirainen
e132cfab3e
Remember isupport_sent flag correctly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-26 10:14:32 +00:00
Timo Sirainen
fbe8b88799
mode changes got irssi stuck
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3242 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-24 17:09:55 +00:00
Timo Sirainen
5ee91babf8
crashfix by Valentin Batz
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3240 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 22:47:25 +00:00
Timo Sirainen
af4bcb70f2
Passive DCC support by Francesco Fracassi (francesco.f at openssl.it)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 22:06:41 +00:00
Timo Sirainen
501dc3494e
/WHOIS -<server tag> is supported now.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3233 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 20:47:51 +00:00
Timo Sirainen
f08020571b
fixed channel->chanop
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 19:14:49 +00:00
Timo Sirainen
cc5e5b9f88
If channel has more nicks than /SET channel_max_who_sync, don't ask /WHO
...
list to avoid getting kicked out of server (Max SendQ exceeded).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-10 19:36:01 +00:00
Timo Sirainen
1757418c61
fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3227 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-03 00:26:30 +00:00
Timo Sirainen
f2e9b8b395
remove stuff from isupport always before inserting.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-02-07 00:03:56 +00:00
Timo Sirainen
dae4b7e2dd
fixes for isupport-draft-incompatible servers sending 005 events..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-27 21:39:27 +00:00
Timo Sirainen
ca62a55590
crashfix when setting mode to channel you haven't joined
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 19:42:04 +00:00
Timo Sirainen
457d3cbc56
update
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3221 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 18:23:38 +00:00
Timo Sirainen
c7f2d309d6
isupport fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 18:23:12 +00:00
Timo Sirainen
33e7528edb
isupport updates
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 18:18:18 +00:00
Timo Sirainen
0ccd528b33
compiler warning fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-24 21:59:10 +00:00
Timo Sirainen
2f819f285e
fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3214 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-22 14:06:35 +00:00
Timo Sirainen
a482865446
other fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-22 13:14:37 +00:00
Timo Sirainen
217283caea
isupport patch by David Leadbeater
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-20 10:57:57 +00:00
Timo Sirainen
1c318ec775
/set -default dcc_autoget_max_size crashed
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 17:13:40 +00:00
Timo Sirainen
2337386565
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-09 05:50:23 +00:00
Timo Sirainen
06e771c9b0
/SET auto_whowas OFF allows now disabling automatic /whowas when /whois
...
doesn't find a nick
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-12-10 22:57:51 +00:00
Timo Sirainen
2d4a7d3595
0.8.8 with a few backwards compatibility fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23 14:25:34 +00:00
Timo Sirainen
c8b792e92b
Assume JOIN failed if we get any 4xx numeric back with channel name in it
...
before JOIN reply.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3152 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 18:44:36 +00:00
Timo Sirainen
0cdfa01971
Support 479 illegal channel name numeric
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 18:31:42 +00:00
Timo Sirainen
91be647710
Don't crash with /DCC SEND nick ""
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:49:51 +00:00
Timo Sirainen
aa78361f24
Allow /SET dcc_own_ip to be non-local address.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:33:25 +00:00
Timo Sirainen
6122035f2f
CTCP forwarding fixes by Valentin Batz
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3133 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-19 18:56:58 +00:00
Timo Sirainen
1826812c9d
Changed some checks i_isspace() -> ' ' so that TAB isn't included in checks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-11 00:19:34 +00:00
Timo Sirainen
65463924d2
Added DCC SERVER support by Mark Trumbull
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-01 16:02:43 +00:00
Timo Sirainen
a619fe9a2c
Network fixes. DCC fixes for IPv6 + BSDs.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-09 23:34:41 +00:00
Timo Sirainen
b729120ca4
Disable extra ircnet flood protection if cmd_queue_speed <= 10
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-06-25 19:30:19 +00:00
Timo Sirainen
4488dbd6c9
Don't require hostmasks to be different with netsplits. Fixes dalnet
...
netsplit detection. Patch by coekie
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-06-03 21:40:02 +00:00
Timo Sirainen
aead991669
Connecting to IPv6 servers in short form as 1:2:: didn't work.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3113 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-05-25 09:49:32 +00:00
Timo Sirainen
8070bb6704
If JOIN is sent to channel you've already joined, assume a missing PART and
...
resync the channel (instead of just ignoring as before). Patch by dg.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-21 08:15:33 +00:00
Timo Sirainen
eff24e706e
Added '!' into nick flags, used by some ircd
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-21 07:01:44 +00:00
Timo Sirainen
43020c2e5f
day -> 1day, hour -> 1hour
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-29 16:02:49 +00:00
Timo Sirainen
bd6fe052bc
Added time, size and level setting types. Breaks some settings - I'll add
...
automatic converter to these settings later. Meanwhile you CVS users can
fix your config files yourself :)
Time settings allow using "days", "hours", "minutes", "seconds" and
"milliseconds" or several of their abbreviations. For example "5d 4h
5msecs".
Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their
abbrevations. For example "5MB".
Level settings are currently handled pretty much the way they were before.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 17:54:13 +00:00
Timo Sirainen
495501c284
Added /SET channels_rejoin_unavailable to disable automatic rejoining when channel is unavailable. Efnet is stupid and uses the same numeric for joining juped channels and k-lines you after trying to constantly join it.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-20 14:37:56 +00:00
Timo Sirainen
6825f1e67e
GC fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 20:30:03 +00:00
Timo Sirainen
bb55d3ff4d
A few fixes to make irssi work with garbage collected GLIB.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 17:31:26 +00:00
Timo Sirainen
13eb240ece
mode +o nick -o nick2 did +o for the nick2 too
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-09 21:54:03 +00:00
Timo Sirainen
e51f4e96fe
Don't break if nick is twice in names list (never is with non-broken
...
servers).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-07 20:53:50 +00:00
Timo Sirainen
67d4550f21
Irssi didn't set the internal away reason when reconnecting to server while
...
being away. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-03 22:54:44 +00:00
Timo Sirainen
dc8bd638e3
Irssi now uses 64bit file offets if it's only supported by system. Also did
...
a few changes to DCC so that it should be possible to send >4GB files.
DCC protocol uses 32bit "n bytes transferred" notifications, so I had to
bend the protocol a bit to allow 64bit files by truncating the value to
lowest 32bits. I'm not sure how other clients handle those notifications,
but irssi uses it only to figure out when the DCC SEND transfer is complete,
so it's quite safe to assume that if we've managed to write() all the bytes
and we receive the last 32bit of file size, it means the total file size
instead of the total - (n+1)*4GB.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3018 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 17:48:40 +00:00
Timo Sirainen
c2d0adc47c
/SET dcc_send_replace_space_with_underscore ON was buggy.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 12:18:11 +00:00
Timo Sirainen
e5d506e31e
Less strict error checking, and notify about every error we do see.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3007 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:51:04 +00:00
Timo Sirainen
f167270a6b
If /DCC SEND file isn't found, complain about it
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:27:55 +00:00
Timo Sirainen
d6c1cfa14b
Don't rename our nick in DCC chats when connecting to server before we know
...
what nick the server gave to us (ie. may not be the same as the nick we
requested).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3000 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-13 13:02:29 +00:00
Timo Sirainen
be1cd41a34
Fixes to allow -append and -prepend work when there's only one file being
...
sent to wanted nick + typo bugfix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2997 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 08:01:22 +00:00
Timo Sirainen
087e5ee525
whops, forgot to add
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 07:35:44 +00:00
Timo Sirainen
488e7b70f4
DCC send supports now queueing. Patch by Heikki Orsila <heikki@ee.tut.fi>,
...
although I did pretty heavy changes which hopefully didn't break it too
badly :)
New syntax: DCC SEND [-append | -prepend | flush | -rmtail | -rmhead] <nick>
-<file> [<file> ...]
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 06:35:12 +00:00
Timo Sirainen
df7ccce8ec
Some compiling fixes found by -Wall in perl dirs..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-07 17:40:05 +00:00
Timo Sirainen
ef4bb2619d
Support for /MODE #chan +o nick1 +o nick2 style grouping.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-31 17:24:49 +00:00
Timo Sirainen
f42df98fc8
"nick mode changed" now gives changed mode/type as parameters.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-26 18:52:45 +00:00
Timo Sirainen
5c6bbf6cc4
Don't bother aborting /OP, /VOICE, etc. just because we're not chanop/ircop.
...
That check was just broken with some servers where opping would be possible
without either.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-15 22:11:26 +00:00
Timo Sirainen
55c2e7a066
/SET dcc_file_create_mode wasn't used. Also print strerror() message if
...
creation fails.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:26:26 +00:00
Timo Sirainen
42d4598e06
/MSG !channel is now expanded to full !12345channel
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2944 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:47:10 +00:00
Timo Sirainen
40f2e1caf5
Make sure two urls aren't thought of as netsplit
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:43:18 +00:00
Timo Sirainen
01c9fddeba
Less kludgy way to handle /SET skip_motd. Works now with laggy servers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-10 01:55:24 +00:00
Timo Sirainen
525773aa80
If reconnection was aborted by trying to reconnect to another server, the
...
channels and usermode wasn't restored.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-30 21:43:46 +00:00
Timo Sirainen
70ac684095
in_addr_t wasn't too standard, so use guint32 after all.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 07:29:48 +00:00
Timo Sirainen
c5095a422c
s/guint32/in_addr_t/ actually.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:42:37 +00:00
Timo Sirainen
9805841e61
DCC was broken with some 64bit systems (64bit unsigned long)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:36:20 +00:00
Timo Sirainen
6019a5cd15
Don't crash if /SET irssiproxy_ports is changed while having connected
...
clients
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29 19:59:13 +00:00
Timo Sirainen
fd6fe24317
a bit more fixes for +k updating
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 19:46:48 +00:00
Timo Sirainen
1faed99b33
Don't update channel key from 324 numeric, some servers send channel key as
...
"*" in it which breaks irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2905 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 19:42:23 +00:00
Timo Sirainen
746ae09050
wait a bit longer before sending massjoin signal. also added a comment how
...
it's supposed to work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 12:45:09 +00:00
Timo Sirainen
a6c4e47376
A few missing parts from SSL patch.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:40:04 +00:00
Timo Sirainen
13effe87e4
removed the stupid error-parameters from net_connect*() calls. errno can be
...
used just fine.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:05:14 +00:00
Timo Sirainen
1b8e6d2e5b
Don't crash if someone msgs you without host address (eg. dircproxy). Fix by
...
Antti.Siiskonen@tut.fi
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 15:12:32 +00:00
Timo Sirainen
0b12cfe47b
When checking for autojoin-on-invite channels, also check the short !channel
...
names.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-22 20:35:43 +00:00
Timo Sirainen
3303db4e87
Added support for 439 numeric ("Target change too fast") which may tell that
...
join was aborted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-21 17:26:40 +00:00
Timo Sirainen
d5ded8f977
Changed CTCP handler to remove the later \001 only if it was at the end of
...
the line, so you couldn't hide text by typing eg. \001foo\001hidden text.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2870 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-05 01:38:49 +00:00
Timo Sirainen
648a43ce14
updated dancer's channel forwarding support - using +f channel mode now, and
...
we won't print whois_modes anymore after forwarding.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2854 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-13 21:59:25 +00:00
Timo Sirainen
80b8d0628a
$X expando didn't check if server type was irc properly, and crashed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-10 20:56:24 +00:00
Timo Sirainen
964ff29779
/SET irssiproxy_bind specifies the IP where to listen in, patch by BC-bd
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:14:31 +00:00
Timo Sirainen
d1e55d91b7
"/MODE !channel" should send the full name to server
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2838 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-05 12:20:46 +00:00
Timo Sirainen
a6d6ade680
event_cannot_join() - changed check from NAMES got -> JOIN got, so the
...
channel isn't destroyed if join is received. dircproxy sent us 477 with
+channels before names list, and irssi aborted the join.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:50:55 +00:00
Timo Sirainen
137aaeb499
"/MSG *" works now properly with dcc chat queries.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:39:35 +00:00
Timo Sirainen
eddc3d90c6
net_ip2host() and net_host2ip() now treat any IPv6 IPs as 0.0.0.0, if IPv6
...
support isn't enabled in irssi. Also DCC's human readable IP address is
taken from DCC SEND request directly with IPv6.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 16:52:36 +00:00
Timo Sirainen
4aa0b9111e
/UPGRADE was broken, changed again the server connection code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-20 04:12:12 +00:00
Timo Sirainen
6f7485b8fa
net_connect*() contains now error parameter, so it can be used to properly
...
check the errno if connect() fails.
Added support for connecting to named UNIX sockets. Some cleanups with
session handling / server connecting as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 14:43:16 +00:00
Timo Sirainen
7437bbea5f
When reconnected to server, send the away message directly to server instead
...
of calling /AWAY, so the away is set only to that one server..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 12:59:59 +00:00
Timo Sirainen
e2ffdfec50
don't crash if server sends us !channel name less than 6 chars.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 08:18:09 +00:00
Timo Sirainen
5be5d14890
Stop reconnecting on kills only if the kill was done by operator, not
...
server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 05:59:13 +00:00
Timo Sirainen
3b5b10791a
banlist_find() is now public. "event 367" (banlist) shows now ban number in
...
our list, if it's known.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 03:07:57 +00:00
Timo Sirainen
3ecf864f18
!channel fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 15:22:05 +00:00
Timo Sirainen
ede752530e
new !channel support was buggy, as I tried it only with channel names having
...
less than 5 chars :) Now it works so that if you join !channel, you see it
as !channel. If you join !ABCDEchannel, you'll again see that.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 14:49:15 +00:00
Timo Sirainen
c8187a9a76
crashfix for previous ~/. kludge
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 12:59:39 +00:00
Timo Sirainen
e6aa8415ef
kludgeing: don't autoget files beginning with '.' if dcc_download_path is
...
home dir.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2800 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16 18:00:47 +00:00
Timo Sirainen
d346fbe1a9
Better !channel support - window items now have "visual_name" and channels
...
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-05-16 00:34:37 +00:00
Timo Sirainen
a5f4fd43cc
don't add same ban more than once to banlist.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 18:16:17 +00:00
Timo Sirainen
4a93232462
dcc reject bugfix went wrong, fixed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 11:20:02 +00:00
Timo Sirainen
583417d66e
irssi didn't notice if DCC send connection died.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2777 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 11:19:13 +00:00
Timo Sirainen
5b5cd255e9
don't send DCC REJECT when closing a connected DCC connection.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 18:47:49 +00:00
Timo Sirainen
ac61d08976
fixed /WHO handling
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-09 03:01:40 +00:00
Timo Sirainen
91882b1a2b
irc_send_cmd_split() printed glib warning if nick parameter didn't exist.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-29 19:39:57 +00:00
Timo Sirainen
e447edc0e8
signal_add_first("event join".. so normal join handlers can know about the
...
nick.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 01:38:30 +00:00
Timo Sirainen
33738b682c
Don't treat +d as regular channel mode.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2717 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 13:04:16 +00:00
Timo Sirainen
0cc7baa7df
channel->topic_by now always contains the host info too (nick!user@host).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-24 12:38:27 +00:00
Timo Sirainen
3f43df1db8
warning fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2708 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-23 08:53:23 +00:00
Timo Sirainen
e47cab1ecc
Added setby-parameter to "nick mode changed" and "channel mode changed"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-22 09:47:13 +00:00
Timo Sirainen
92b780ff60
/SET dcc_send_replace_space_with_underscore - patch by nix@suhs.nu
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-18 15:25:00 +00:00
Timo Sirainen
aa95b7f305
/SET dcc_autoget_max_size default changed to 0 (disabled) - it's pretty
...
stupid default since no-one wants it anyway
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-11 13:54:23 +00:00
Timo Sirainen
bd00ff54c2
Fixed one error and several warnings with GLIB 2.0
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-10 02:53:06 +00:00
Timo Sirainen
4187402348
workaround for some server that doesn't reply anything to pings.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2656 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-05 09:09:30 +00:00
Timo Sirainen
bb3a1787b4
Listen for DCC connections in all interfaces
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31 19:40:40 +00:00
Timo Sirainen
bfae72766e
Don't set channel->server = NULL when disconnecting, so scripts can still
...
use it in eg. "channel destroyed". Patch by Qrczak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2648 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31 19:07:23 +00:00
Timo Sirainen
dc4b7456dc
with 10 char usernames, ban "*234567890" instead of "*12345678*"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31 12:04:57 +00:00
Timo Sirainen
091095fff3
Allow /OP, etc. commands for server operators as well. They may not work
...
everywhere, but the whole point of the check was to avoid accidental /OP *
or something while not opped in some huge channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 09:13:18 +00:00
Timo Sirainen
500ae5773e
If autojoining to !channel failed because it didn't exist, create it by
...
joining to !!channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 02:50:12 +00:00
Timo Sirainen
0a02833d0e
fallback to rename() if link() isn't supported on the filesystem, so people
...
can still download files to such FSes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 00:59:46 +00:00
Timo Sirainen
e1ff1b014a
Dropped the bot-plugin. It's not useful to anyone really.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2619 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 21:07:19 +00:00
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
2ab05e7872
$cumode and $cumode_space should do stuff only to IRC servers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 11:36:31 +00:00
Timo Sirainen
064d8d3926
"make dist" now doesn't add irc.c / irc-modules.c
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:30:07 +00:00
Timo Sirainen
c726496953
proper checking for lseek() failure
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:19:04 +00:00
Timo Sirainen
86dcbd11e4
If queried nick did a nick change, it might have crashed irssi.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2599 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:06:31 +00:00
Timo Sirainen
4770c1c4ee
*** empty log message ***
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 02:59:01 +00:00
Timo Sirainen
65e87c9861
fix to some broken "ircds"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-12 20:51:03 +00:00
Timo Sirainen
f4bd37a406
make clean should remove libirc_proxy.a symlink
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 18:14:29 +00:00
Timo Sirainen
2865d3a33f
/SET max_wildcard_modes 0 should disable the checking
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2578 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 04:30:13 +00:00
Timo Sirainen
abe4e30256
Safer flood protection for lines longer than 100 chars. Maybe even a bit too
...
safe but generally you write lines less than 100 chars so it shouldn't
really matter. Calculated (2 + line_length/100) in seconds.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 03:11:18 +00:00
Timo Sirainen
9398746e61
Automatically change the nick to correct case in queries (eg. you did
...
/QUERY nick, and the nick really was Nick, irssi would change the query to
Nick as well)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2565 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:23:22 +00:00
Timo Sirainen
25ed0acc65
If you had query with "X" but the nick really was "x", and after nick change
...
to "X" you saw "X changed nick to X"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2561 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:23:37 +00:00
Timo Sirainen
aae7eae9a0
Added /SET max_wildcard_modes (default 6) - if a wildcard to /OP, /DEOP,
...
/VOICE or /DEVOICE matches more nicks than this, -yes option is required.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:15:03 +00:00
Timo Sirainen
15e716e283
Added '.' to known nick flag characters. Also supports having multiple flag
...
chars in /NAMES list, so eg. "@+nick" works or ".@nick" which is already
used by some servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2559 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:00:38 +00:00
Timo Sirainen
44247af3ff
/KNOCKOUT code was a bit stupid, and the timeout checking wasn't very
...
/accurate.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:31:07 +00:00
Timo Sirainen
a6f4afab2d
/OP etc. shouldn't crash if channel hadn't received /NAMES list yet.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-08 18:40:43 +00:00
Timo Sirainen
db4a0e5003
PROXY CTCP ON|OFF - proxy clients can send this command to specify that they
...
want to handle the received CTCP requests.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 15:21:50 +00:00
Timo Sirainen
87946e381f
$cumode wasn't updated after receiving nick list, so with empty channels it
...
didn't contain @ immediately.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 15:03:53 +00:00
Timo Sirainen
01bcf83b56
server->emode_known wasn't saved during /UPGRADE.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 10:41:32 +00:00
Timo Sirainen
2649a06fa5
There was the check for max. 10 chars/ban, but for some reason it was 11 in
...
code :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 06:56:31 +00:00
Timo Sirainen
b76b41aa6f
server->real_address wasn't restored properly after /UPGRADE and that
...
started to raise lag (or maybe crash). Also removed some backwards
compatibility code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 08:26:12 +00:00
Timo Sirainen
3dc9cbbf24
the last 001 fix was useless, removed the if() part so now the real_address
...
is changed every time 001 is received :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2440 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 16:05:47 +00:00
Timo Sirainen
264e172abf
001 event should free real_address if it already existed. this might happen
...
with for example irc bouncers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 15:11:47 +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
64e98b7f4a
Correctly handle DCC GET write() failures.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2427 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 18:42:23 +00:00
Timo Sirainen
ce41d6b18a
If *=port was used with /SET irssiproxy_ports, connections to server weren't
...
sent to already connected clients.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 12:53:10 +00:00
Timo Sirainen
7f8b0f07ec
support for event 477 which aborts joins to +R channels in dalnet.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 12:13:00 +00:00
Timo Sirainen
c674db5c8e
Don't stop reconnecting to server if we get nick collided
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 10:21:46 +00:00
Timo Sirainen
2f09d9be5a
Proxy is now emitting "proxy client connected" and "proxy client
...
disconnected" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-08 07:25:51 +00:00
Timo Sirainen
f8114c834f
DCC /MSG handlers broke /MSG -ircnet
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 18:07:55 +00:00
Timo Sirainen
d1ade13a71
Broke DCC CHAT queries.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2391 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 21:20:05 +00:00
Timo Sirainen
06a33691f4
make sure redirect_continue is set to NULL if it contains the redirection
...
that is being destroyed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 22:28:09 +00:00
Timo Sirainen
7c94cb083f
Added target_type to send_message(), -channel and -nick parameters to /MSG
...
to specify if it's supposed to be to channel/nick. /MSG -channel is used
automatically by irssi when sending messages to channel (the "normal" way
without /msg). This should help with protocols that don't have any channel
name prefixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 21:53:37 +00:00
Timo Sirainen
aa544dec32
Added PARAM_FLAG_OPTCHAN_NAME which is like PARAM_FLAG_OPTCHAN, but doesn't
...
allow using "*" to specify active channel. Used with /OP, /DEOP, /VOICE and
/DEVOICE so you can do /OP * again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 18:24:22 +00:00
Timo Sirainen
0ce3f8243e
Comments are now allowed everywhere in config files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:37:44 +00:00
Timo Sirainen
85b63bf546
Also, if alternate_nick is "", don't go set it to connection record..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2373 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:27:20 +00:00
Timo Sirainen
feec7bfb62
/SET alternate_nick should default to "", not NULL which would cause
...
problems.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:26:11 +00:00
Timo Sirainen
30a4a2ab76
Ignore /SET dcc_autoresume if /SET dcc_autoget is OFF.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:23:56 +00:00
Timo Sirainen
bd91fbc88b
The "check if nick change was done with our /NICK" didn't work if this was
...
our first nick change..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01 23:32:21 +00:00
Timo Sirainen
c4e8d67bf9
Added optional channel parameter to /OP, /DEOP, /VOICE and /DEVOICE
...
commands.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2366 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01 23:01:58 +00:00
Timo Sirainen
05ecb785fb
"/MODE #channel -k" automatically appends the channel key if it wasn't
...
given.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-30 01:57:34 +00:00
Timo Sirainen
0cdc8a7f6a
Whops, crasfix for last "fix". :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2353 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 23:31:36 +00:00
Timo Sirainen
747d0f19ca
Fixed a few minor memleaks. Don't use g_strdup() in lib-popt because it may
...
be freed with a real free() call instead of g_free().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2352 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 15:20:57 +00:00
Timo Sirainen
08c23ce6d4
Don't change the "wanted nick" when receiving NICK event from server, unless
...
we did the /NICK change. This is useful with the new irc servers changing
your nick to your UID instead of killing you, at reconnect time you'd get
"invalid nick" when irssi would try setting the UID as your nick..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 05:28:25 +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
46a6cf58f3
Don't send proxy commands to server if -noproxy option was used.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-23 00:23:31 +00:00