summaryrefslogtreecommitdiff
path: root/src/irc/core
AgeCommit message (Collapse)Author
2002-05-17!channel fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17new !channel support was buggy, as I tried it only with channel names havingTimo Sirainen
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-16Better !channel support - window items now have "visual_name" and channelsTimo Sirainen
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-13don't add same ban more than once to banlist.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-29irc_send_cmd_split() printed glib warning if nick parameter didn't exist.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27signal_add_first("event join".. so normal join handlers can know about theTimo Sirainen
nick. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26Don't treat +d as regular channel mode.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2717 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-24channel->topic_by now always contains the host info too (nick!user@host).Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-22Added setby-parameter to "nick mode changed" and "channel mode changed"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-10Fixed one error and several warnings with GLIB 2.0Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-05workaround for some server that doesn't reply anything to pings.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2656 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31Don't set channel->server = NULL when disconnecting, so scripts can stillTimo Sirainen
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-31with 10 char usernames, ban "*234567890" instead of "*12345678*"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17Allow /OP, etc. commands for server operators as well. They may not workTimo Sirainen
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-17If autojoining to !channel failed because it didn't exist, create it byTimo Sirainen
joining to !!channel git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2627 dbcabf3a-b0e7-0310-adc4-f8d773084564
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