Timo Sirainen
0687b42b3e
/PART in SILC destroys the channel immediately, so we'll need to check
...
that it's not destroyed when doing it in /CYCLE..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2620 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 21:32:22 +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
df7c90463a
updated not_good_idea text
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2618 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 20:59:00 +00:00
Timo Sirainen
25d5e26e7b
/SERVER ADD -ircnet value wasn't strdup()ed so it might have done something
...
nasty, at least during quit might have crashed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 00:05:55 +00:00
Timo Sirainen
6a89217d6a
Get the terminal size at startup with ioctl() and use it. Fixes at least
...
NetBSD.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2616 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:46:48 +00:00
Timo Sirainen
85a1b122cd
Scrolling was buggy with "ri" method, it tried to used "rin" as well
...
which crashed irssi.. Happened at least with NetBSD/sparc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:33:33 +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
2a1b4c0a17
$window->command() changed active window temporarily to wanted one and then
...
back to old one. This wasn't very good idea if the old window was destroyed
by the command..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2613 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 21:59:16 +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
7d58cc000f
Don't crash when trying to print text when there's no windows yet. Also
...
print the text to stdout.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 06:44:06 +00:00
Timo Sirainen
265ecbc74d
Don't crash if there's no prefixes (botti doesn't) when loading module.
...
Patch by aldem-irssi@aldem.net
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 01:54:05 +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
3800c07a32
bit fields should be unsigned type always (unsigned int dirty:1).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:23:38 +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
fc20431dbb
when autochanging query's nick to be correct case, don't print the
...
"nick changed" message
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2600 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:15:39 +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
649253e180
ARGH! I hate this new behaviour of CVS not asking if I want to abort
...
the message - have to RTFM to see if I can get old behaviour back :)
So, this+previous commit: "make distclean" should remove irc.c and
irc-modules.c since they're generated by configure.
!user part is optional in IRC prefix, so nick@server is now handled
correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2598 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:02:55 +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
bfb8e8da33
removed the debugging code..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2593 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:33:30 +00:00
Timo Sirainen
8ba1989227
Set ownnick to channel->NULL when the nick record is destroyed. Should fix
...
some perl script errors.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:30:20 +00:00
Timo Sirainen
2a57e797ce
When IPv4 or v6 wasn't forced, irssi picked improperly IPv4 even if there
...
was only v6 address.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2591 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:21:11 +00:00
Timo Sirainen
7b1d5ed41a
added some debugging code to irssi_bless_iobject() - can it really be an
...
overflow? :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 00:40:12 +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
d5564a0e01
New queries should begin with last_unread_msg timestamp set to now. This
...
fixes /SET autoclose_query >0 + /SET autocreate_own_query ON closing queries
created by your /MSG almost immediately.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2588 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 18:20:42 +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
5fde51a364
added ownnick to Irssi::Channel
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 16:44:42 +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
8fa39c23a7
default_color checks moved from fe-text to fe-common, so they work properly
...
with window-specific themes. also should fix some weird problems related to
them and gui_printtext_after().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 03:45:57 +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
1528cfc9d7
All control chars in statusbar items are now displayed reversed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 02:07:05 +00:00
Timo Sirainen
966ed97f2a
Added -4 | -6 to /SERVER ADD syntax.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 21:38:10 +00:00
Timo Sirainen
1855e6cc5c
/SERVER ADD -ircnet should add the network to config with the same case as
...
in /IRCNET list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2568 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:58:16 +00:00
Timo Sirainen
1997b58c3a
whops, stupid utf-8 bug :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:43:35 +00:00
Timo Sirainen
ba09292f55
crashfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:40:06 +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
9d423576aa
If -4 or -6 option is used with /SERVER, force the correct protocol match.
...
eg. /SERVER -6 host either connects to IPv6 host or fails.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:14:04 +00:00
Timo Sirainen
b18af319cf
term_addch() : utf-8 fixes for cursor positioning.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2563 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:03:27 +00:00
Timo Sirainen
e5ab1daf30
When input line is in redirection mode, allow empty lines (eg. enter after
...
/OPER now aborts it)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2562 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:36:35 +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
b89fb4a549
Never ignore kick msg if you get kicked from channel.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2558 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:46:22 +00:00
Timo Sirainen
6d6b02d10e
Netjoins in +channels were printed as if users joined to "channel" and all
...
of them had ops, so the message always went to status/active window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:42:52 +00:00
Timo Sirainen
0d54e4e299
SIGHUP now does /RELOAD - useful with for example /SBAR prompt DISABLE when
...
you don't have an input line to recover :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:20:44 +00:00
Timo Sirainen
ee8229be48
/CYCLE tried to do /PART twice.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:12:13 +00:00
Timo Sirainen
a868bbe124
/CAT prints files now with CLIENTCRAP + NEVER level, so timestamps aren't
...
printed. Also since /AWAY prints the awaylog using /CAT, we don't get
timestamps there either now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:07:57 +00:00
Timo Sirainen
ca234bdf5e
*** empty log message ***
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:55:46 +00:00
Timo Sirainen
418678bc95
/CYCLE reason didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:46:40 +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
8d245f2ddf
Don't send -autosendcmd after /UPGRADE.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:28:08 +00:00