summaryrefslogtreecommitdiff
path: root/src/irc
AgeCommit message (Collapse)Author
2014-06-26Remove unused variables to silence compiler warningsDavid Leadbeater
2014-06-21Merge pull request #50 from dajohi/cmd_null_derefAlexander Færøy
Avoid potential null dereferences.
2014-06-20Do not break strict-aliasing rules.David Hill
dcc-send.c:296:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
2014-06-20Avoid potential null dereferences.David Hill
2014-06-16Revert "add d,q,f and J to CHANMODES default, to work a bit better with ↵David Leadbeater
dancer and possibly others" This is no longer relevant and most ircds now send a correct isupport message. This reverts commit b832f1f7b2c4a692786d5d52904a2bdf4d14354f.
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2011-11-21Fix warning.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-05-15Accept names replies with nick!user@host instead of nickJilles Tjoelker
if they are somehow enabled (UHNAMES/userhost-in-names). bug #805 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-02-10Ensure that expando_cumode_space() doesn't free unallocated memory when noJase Thew
prefix exists by conditionally allocating and marking to-be-freed the cumode string inside of expando_cumode(). (Bug #669) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-24Add prefixes to irc_nicklist_insert() so that nickrec.prefixes is accurate ↵Wouter Coekaerts
in the "nicklist new" signal. Fixes the nicklist sorting on xirssi. Patch by nenolod. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-04Remove warnings about uninitialized variables.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03deprecated glib strup/down fixes from exg.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27Use servertag from the active DCC chat when not connected anymore to the IRC ↵Wouter Coekaerts
server that started it. This fixes a crash with handling the DCC queue. Reported by Aurelien Delaitre (SATE 2009) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-05-13Accept 354 (WHOX reply) as a /who reply too (for redirection).Jilles Tjoelker
Ignore the parameters for matching because 354 does not have a fixed format. This helps irssi-proxy with clients that use WHOX, such as xchat (away checking). WHOX works on ircu and charybdis 3.1 servers. Bug #671 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-04-05Remove leftover.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5059 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-15Correct previous commit: fix away checkingWouter Coekaerts
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-10Fix /NOTIFY list when nick is seen joining (bug #642)Wouter Coekaerts
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-10Include hostmask in 001 event sent by proxy (bug #650)Wouter Coekaerts
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-01Remove unused variables.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28Ensure variable is initialized.Jilles Tjoelker
Make sure not to set connection_lost if the server was already disconnected. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28Add the command send/expire timeout only when needed.Jilles Tjoelker
This was the last always-on <1s timer. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5026 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28Check for stale flood entries when lines come in, avoiding a 0.5 second timeout.Jilles Tjoelker
The timeout is now every 5 seconds and serves to remove entries that do not send messages anymore. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5024 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21Make explicit how long the arrays for prefix_add and prefix_del are.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5020 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_printf() instead of g_string_sprintf() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-22Check server's connected flag rather than net-sendbuffer pointers inEmanuele Giaquinta
sig_server_quit. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-13Preserve op/halfop/voice when /upgrading from before the prefixes changeJilles Tjoelker
(r4922). This also restores them when /upgrading from a revision between r4922 and this one. Note that other prefixes are still lost when /upgrading from pre-r4922 irssi. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-12prefix_add(): copy correct number of bytesJilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-02Recode outgoing irc quit messages.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01Factor the code to send an irc action into a function.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29Revert r4924, the comment is correct after all.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29Remove obsolete part of comment.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Allow /ban, /unban, /kickban, /knockout if channel is not synced.Jilles Tjoelker
Requesting ban lists from an unsynced channel will ask them from the server, banning a user whose u@h irssi does not know will ban nick!*@* and only bans irssi knows about can be removed. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4925 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Remove obsolete/wrong part of comment (irc server cmdcount).Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Allow storing multiple "other" prefixes such as +q and +a.Jilles Tjoelker
Original patch by JasonX, somewhat changed by exg and me. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16Do not check in irc cmd_away that the active item server is an ircEmanuele Giaquinta
server, it prevents /away from working when the active item server is not an irc one. The check is already performed in irc_server_send_away, so /away -one is unchanged. Patch by Gabor Adam Toth. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12Remove /wallchops, do not suggest other commands in /help wall.Jilles Tjoelker
The only major ircd supporting /wallchops also supports /notice @#channel. The /wall command has used /notice @#channel (if it is supported which is pretty much everywhere) for a while and so it can be used without problems on large channels. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4902 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12Recode outgoing irc away messages, bug #412.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4901 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12Export server_send_away and use it in irc-servers-reconnect.c:sig_connectedEmanuele Giaquinta
instead of duplicating the code. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4900 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-10recode.h include fixup.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09Move recoding of outgoing messages into irc send_message routine. Handlers forEmanuele Giaquinta
message own_{private,public} now receive the message in the client encoding. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-08Recode a WALL message also when sending a notice to @#channel.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02introduce the type Irssi::Irc::Client and signals to communicate with proxy Jochen Eisinger
clients to allow for scripting parts of the irssi-proxy. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-30Fix display of ratbox-style operspy whois (/whois !nick).Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-02Revert recode changes r4483 and r4715.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-24Cosmetic.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23Reindent.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23Fix leaks.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-22Extend net_sendbuffer by adding a LINEBUF_REC member and a ↵Emanuele Giaquinta
net_sendbuffer_receive_line function to read linewise from the associated io channel. Rewrite irc/dcc/proxy read logic on top of it. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-19Remove some global variables used to store settings values, instead get theEmanuele Giaquinta
values when needed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4836 dbcabf3a-b0e7-0310-adc4-f8d773084564