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