summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-servers.c
AgeCommit message (Collapse)Author
2008-03-09Use g_ascii_str{,n}casecmp for case insensitive comparison withEmanuele Giaquinta
ascii only strings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07Remove unneeded includes.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05Remove unneeded includes.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4709 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-23Apply -usermode before -autosendcmd.Jilles Tjoelker
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-10-12Get -kicks and -msgs from TARGMAX and MAXTARGETS 005 tokens.Jilles Tjoelker
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-06-29If 001 has not been received yet, also treat "Banned" orJilles Tjoelker
"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-05-25Pick up host changes on charybdis and ircu servers (396 numeric).Jilles Tjoelker
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18Use rfc1459 comparison for nicks by default (it is not a functional changeEmanuele Giaquinta
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-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28Do not send hostname to server, rather use username as the secondEmanuele Giaquinta
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
2005-11-24Initialize the isupport functions on /upgrade aswellValentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-04Compile fix: make it c99 again, by Timothy Hatcher (Bug 184)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03improve queuing commands, patch by Timothy Hatcher (Bug 168)Wouter Coekaerts
(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-03Fix multiple entries for local IP in /etc/hosts prevents connecting, patch ↵Wouter Coekaerts
by eridius (Bug 167) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-23Reverting bugfix for 'usermode activates after autosendcmd' because it ↵Valentin Batz
breaks usermode for reconnections git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-19Fixed bug where usermode was not sent correctlyValentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-12Fix crash with non-irc serversWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-08add d,q,f and J to CHANMODES default, to work a bit better with dancer and ↵Wouter Coekaerts
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-09-15Bugfix: http://bugs.irssi.org/?do=details&id=121Geert Hauwaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3299 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-06Changed default SSL port to 6697Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-10Never send hostname beginning with /+-[0-9]/ in USER command, that couldTimo Sirainen
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-02-07remove stuff from isupport always before inserting.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-27fixes for isupport-draft-incompatible servers sending 005 events..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25updateTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3221 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25isupport updatesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-20isupport patch by David LeadbeaterTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-06-25Disable extra ircnet flood protection if cmd_queue_speed <= 10Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-05-25Connecting to IPv6 servers in short form as 1:2:: didn't work.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3113 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28Added time, size and level setting types. Breaks some settings - I'll addTimo Sirainen
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-10A few fixes to make irssi work with garbage collected GLIB.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14/MSG !channel is now expanded to full !12345channelTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2944 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-10Less kludgy way to handle /SET skip_motd. Works now with laggy servers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26A few missing parts from SSL patch.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-20/UPGRADE was broken, changed again the server connection code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19net_connect*() contains now error parameter, so it can be used to properlyTimo Sirainen
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-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-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-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-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-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-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-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-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-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
2001-12-06/IRCNET ADD -usermode option added.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19/UPGRADE - upgrade-on-the-fly feature. Currently only moves the activeTimo Sirainen
server connections to the new irssi process, but that should be enough to never quit from IRC again :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18Data sent to server with /RAWQUOTE didn't show up properly in rawlog unlessTimo Sirainen
it ended with \r\n. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2068 dbcabf3a-b0e7-0310-adc4-f8d773084564