summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
AgeCommit message (Collapse)Author
2009-04-03Show numerics directed at channels in the channel window.Jilles Tjoelker
This is about numerics where the target parameter is a channel, i.e. ":<server> <numeric> <#channel> ..." Usually, this parameter is the user's nick or an asterisk. An example is the numeric ircd-ratbox and charybdis send to channel operators on a successful /knock. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5056 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-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-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-16Do not call skip_target on a non irc server in irc 'own_public'Emanuele Giaquinta
handler, based on a patch by Gabor Adam Toth. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4915 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-09Emit message irc own_{action,notice,wall} and message dcc own{,_action} withEmanuele Giaquinta
message in client encoding. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4891 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-09Move recoding of incoming quit messages to irc 'event quit' handler.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09Revert part of r4041. It is not clear which bug it is supposed to fix, and theEmanuele Giaquinta
change seems wrong anyway because notice/action message is already recoded in fe-events.c:event_notice/ctcp_action. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4888 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-28Also display 407 numerics that are not "duplicate channel".Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4877 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-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
2008-05-14Remove theme format and signal doc for no more notify idle code.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4820 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-12Update notify_list theme format for idle option removal.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4816 dbcabf3a-b0e7-0310-adc4-f8d773084564
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-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@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-20Show setter/time in +I lists, if sent by the server.Jilles Tjoelker
Code mostly copied from +e. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-16Move output recoding in irc_send_cmd_full.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21Remove .cvsignore files.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05Fix typo.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4650 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-17Do not allow /ping by itself to ctcp ping a channel.Jilles Tjoelker
This is like the new /ver behaviour. Bug #542, patch by Geert with tweaks by exg git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-03Fix mode display in whois with unreal (379 numeric).Jilles Tjoelker
Bug #479 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4637 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-03Remove a space that messed up alignment in whois mode replies.Jilles Tjoelker
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-02Fix RPL_WHOISHOST (378) code and strip off the "*@" from the hostname.Jilles Tjoelker
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4635 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-02Add support for RPL_WHOISACTUALLY (338), both ratbox and ircu style.Jilles Tjoelker
Note that the ratbox style only shows ip, this appears as hostname: <ip> which is slightly different from the other real host numerics. Bug #428 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4634 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-31Remove /notify -idle, it can only work with not-nice automated remote whois.Jilles Tjoelker
(causes infrequent "server load too heavy" etc) If people really want this, they should write a script. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-22Handle server == NULL case in skip_target, fix regression with irssi-icb.Emanuele Giaquinta
Patch by Stuart Henderson, bug #539. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-03- Make notices to +#channel (and all other STATUSMSG=)Jilles Tjoelker
appear in the channel window. - Make actions and ctcp to @#channel etc appear in the channel window. - Clean up the code a little. This fixes bug #46 apart from incoming msg to +#channel. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-08Update channel forwarding code.Jilles Tjoelker
This is now on numeric 470 instead of 379. It works with hyperion and charybdis, and puts the channel you were forwarded to in the window the original channel would be in. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-07Fix 477 numeric broken by r4572Jilles Tjoelker
(should be displayed in status if it's a join failure, channel window otherwise) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-08Add support for the ACCEPT command, which is part of theJilles Tjoelker
CALLERID server side ignore system in hybrid7 and derived ircds. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4546 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-05Put "account" before services login name (330 numeric, whois_extra).Jilles Tjoelker
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4541 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-28- Display more numerics (such as cannot send to channel,Jilles Tjoelker
cannot /msg, user is +g) in the channel or query window, if any. - Put the target name in front of "generic" numerics printed to the channel/query window (useful if there are multiple in one window, or if there is no such window). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4526 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-20If we get a ERR_NOSUCHNICK for the nick "*", displayJilles Tjoelker
the text in the numeric rather than a fixed "no such nick/channel". This often contains more information for at least ircu/ratbox/charybdis (Target left IRC with failed text when /msg crosses quit/split). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4508 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20Fix recognition of realnames starting with spaces in /who replies.Jilles Tjoelker
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4507 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-05-05Move input recoding in irc_server_event.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-29Use dynamic storage for return value of channel_get_nickmode.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-22This patch fixes the problem that irssi keeps saying Netsplit over for joins ↵Wouter Coekaerts
from a certain user, if that user split and then rejoined some but not all channels they used to be in. (by Jilles Tjoelker) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4376 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-05-18Fix whois_hide_safe_channel_id: only look at the beginning of a channel ↵Wouter Coekaerts
name, not in the middle git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19Using "/VER" in channel now doesn't directly ask CTCP VERSION from it.Timo Sirainen
Channel name or "*" is required as parameter. It still works in query though. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-16fixed a bug in recode when target is NULL and really use the recoded string ↵Valentin Batz
for printing git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-15fixed recode for actions and added recode for numeric eventsValentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-12fixed recoding of own messages.Valentin Batz
recode after expand_emphasis remove the redundant call to setlocale(LC_CTYPE, ) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-10Make the compiler happy by replacing 'const char *' by 'char *'.Valentin Batz
Pass the pointer to the SERVER_REC to dcc_ctcp_message. Recode 'own' messages back for printing just before they actually get printed. (ugly but more effective than adding all the signals in fe-recode and doing it there) Replaced SERVER_REC by IRC_SERVER_REC in dcc-chat.c since it's belongs to IRC(makes the compiler happy again). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10with unknown (special) lines in whois, display the full content, not just ↵Wouter Coekaerts
the first parameter (this may include "real content" as well as the description of what that field means) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3989 dbcabf3a-b0e7-0310-adc4-f8d773084564