summaryrefslogtreecommitdiff
path: root/src/irc/core
AgeCommit message (Collapse)Author
2002-03-14Fixed that "nick already in split list, how?" bug with a patch from fuchs.Timo Sirainen
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$cumode and $cumode_space should do stuff only to IRC servers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13If queried nick did a nick change, it might have crashed irssi.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2599 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13*** empty log message ***Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-12fix to some broken "ircds"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11/SET max_wildcard_modes 0 should disable the checkingTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2578 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11Safer flood protection for lines longer than 100 chars. Maybe even a bit tooTimo Sirainen
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-10Automatically change the nick to correct case in queries (eg. you didTimo Sirainen
/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-10If you had query with "X" but the nick really was "x", and after nick changeTimo Sirainen
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-10Added /SET max_wildcard_modes (default 6) - if a wildcard to /OP, /DEOP,Timo Sirainen
/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-10Added '.' to known nick flag characters. Also supports having multiple flagTimo Sirainen
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/KNOCKOUT code was a bit stupid, and the timeout checking wasn't veryTimo Sirainen
/accurate. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-08/OP etc. shouldn't crash if channel hadn't received /NAMES list yet.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20$cumode wasn't updated after receiving nick list, so with empty channels itTimo Sirainen
didn't contain @ immediately. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16server->emode_known wasn't saved during /UPGRADE.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16There was the check for max. 10 chars/ban, but for some reason it was 11 inTimo Sirainen
code :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15server->real_address wasn't restored properly after /UPGRADE and thatTimo Sirainen
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-13the last 001 fix was useless, removed the if() part so now the real_addressTimo Sirainen
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-13001 event should free real_address if it already existed. this might happenTimo Sirainen
with for example irc bouncers. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13updated the glib error message with netsplitsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10support for event 477 which aborts joins to +R channels in dalnet.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10Don't stop reconnecting to server if we get nick collidedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03make sure redirect_continue is set to NULL if it contains the redirectionTimo Sirainen
that is being destroyed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03Added target_type to send_message(), -channel and -nick parameters to /MSGTimo Sirainen
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-03Added PARAM_FLAG_OPTCHAN_NAME which is like PARAM_FLAG_OPTCHAN, but doesn'tTimo Sirainen
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-02Also, if alternate_nick is "", don't go set it to connection record..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2373 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02/SET alternate_nick should default to "", not NULL which would causeTimo Sirainen
problems. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01The "check if nick change was done with our /NICK" didn't work if this wasTimo Sirainen
our first nick change.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01Added optional channel parameter to /OP, /DEOP, /VOICE and /DEVOICETimo Sirainen
commands. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2366 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-30"/MODE #channel -k" automatically appends the channel key if it wasn'tTimo Sirainen
given. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28Whops, crasfix for last "fix". :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2353 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28Fixed a few minor memleaks. Don't use g_strdup() in lib-popt because it mayTimo Sirainen
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-28Don't change the "wanted nick" when receiving NICK event from server, unlessTimo Sirainen
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-27toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in someTimo Sirainen
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-23Don't send proxy commands to server if -noproxy option was used.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22Added /SET proxy_string_after setting which gets sent after NICK/USER, bncTimo Sirainen
wants this. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21Using signal_add_first() for a few more signals now, so they can be stopped ↵Timo Sirainen
by scripts. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20Handle PING requests now properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12Don't try to set alternate_nick to any default value, it's not very usefulTimo Sirainen
and it didn't work properly if nick was 9 chars with last char being '_' (not very likely though :). Also handle properly the situation where nick and alternate_nick are the same. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10Purge the commands in queue for channel if you get kicked from there.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10Changed again behaviour of resetting user modes when reconnecting to server,Timo Sirainen
it was also buggy and didn't work.. Anyway, now we don't anymore even try to remove "non-wanted" modes set by server when reconnecting, if you really don't want to have some mode, set it with -x in /set usermode. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10Actions are now sent in "ctcp action" signal which is never ignored. "ctcpTimo Sirainen
msg action" doesn't work anymore nor does it show in "ctcp msg"s. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2303 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-09irc_send_cmd() now doesn't call server_disconnect(), but rather just markTimo Sirainen
the connection_lost to TRUE, the disconnection is after the "server incoming" signal is finished. Changed irc_parse_incoming() back to not handling any commands in server's input buffer after server_disconnect() is called, it's not safe enough. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2299 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-02server_disconnect() should do nothing if you call it twice, especially itTimo Sirainen
shouldn't emit the "server disconnected" again. We'll now handle the remaining data coming from server after disconnection. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-31Abort joins on 442-numeric that dalnet sends when you can't join to channelTimo Sirainen
because you've not registered your nick. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2288 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27argh, typofix :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27Added an extra check to make sure nothing bad happens..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-22Check that the nick doesn't get added twice to nicklist, seems to happen ↵Timo Sirainen
sometimes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2280 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17mode +d is now also treated as having argument (hybrid 7 / dancer realname ban)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14Redirections were broken if server_redirect_event() didn't list the stopTimo Sirainen
event. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2246 dbcabf3a-b0e7-0310-adc4-f8d773084564