summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-events.c
AgeCommit message (Collapse)Author
2015-09-22Fix #291, "/msg +#channel incorrectly shows up as Nick:@#channel"dequis
Just passing the full target to the "message irc op_public" signal handler and letting it do the cleanup. The fe_channel_skip_prefix() call in event_privmsg() is kept because recode_in() needs a real channel name, but There was similar code in sig_message_own_wall(), but that one is correct - the /wall command always sends NOTICE @#chan, so I added a comment down there to make it clear.
2015-09-18Add two missing #include "fe-irc-channels.h"dequis
Fixes #285
2015-09-09Move the function prototypes in a separate headerLemonBoy
2015-09-02Introduce some more chantypes awarenessLemonBoy
2015-05-15Implement CHANTYPES supportLemonBoy
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2009-05-15Fix out of bounds access in event_wallops().Jilles Tjoelker
bug #662 Submitted by: nemo git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5068 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-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-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
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
2005-09-10- rename "whois not found" to "whois try whowas", because that's what needs ↵Wouter Coekaerts
to be done when the signal is sent (and it doesn't mean whois_not_found should be printed) - rename "whois event noserver" to "whois event not found", because the signal means the nickname wasn't found (but it comes as a "no such server" because it was a /whois nick nick), whois_not_found should be printed, and so it makes sense to also use it for the next fix: - send "whois event not found" for 401, when auto_whowas is off, so the message is displayed correctly (Bug 295) - handle 402 the same with auto_whowas off as with on, (fixes /whois with not existing server specified, with auto_whowas off). - and since the auto_whowas on and off cases are similar now, merge them together, so they stay consistent. - pass every argument given to /whowas to the server, not just the first (count). Fixes remote whowas (Bug 256) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3988 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-04Fixed recode for incoming messages, private messages didn't work properly. ↵Valentin Batz
(Bug http://bugs.irssi.org/?do=details&id=286) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3896 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20Added <tag>/<target> support for recode.Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, ↵Valentin Batz
fixed bug 106 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-24removed //#includeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-13Wallop actions fixedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-31Don't show the full channel name with own joins, because it's logged intoTimo Sirainen
different file than everything else. You can still see the full name with /WHOIS. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2832 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-04-22"message mode" -> "message irc mode", also added in signals.txtTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07"default event" now resends "default event numeric" which gets handled byTimo Sirainen
the event_received() function.. I think now all those extra spaces showing up in places should be fixed :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28"Your nick is owned by .." message was checked always with default nick.Timo Sirainen
This wasn't wanted with eg. /IRCNET ADD -nick. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2350 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-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
2001-12-03Show @#channel notices as regular notices again. Don't hilight it or ↵Timo Sirainen
@#channel msgs. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29/WALLCHOPS are now printed to screen. Receiving notices for @#channelTimo Sirainen
are printed like receiving wall messages. /ACTION @#channel didn't work properly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12Redirection fixes - added count parameter.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11Moved rewritten server redirection code from core to irc. This new codeTimo Sirainen
should be able to do the redirecting a lot more error-proof. Changed lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using redirection. Hopefully this doesn't break too much things in irssi :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02Moved some stuff from irc to core. Added command_bind_proto() function toTimo Sirainen
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10own nick changed were printed as if it was done by someone elseTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03/BANTYPE -> /SET ban_type. /BAN: -type option added to override defaultTimo Sirainen
ban type. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28Removed own_wall msg format, using now the same as @#channel messages.Timo Sirainen
Added printing of ctcps, notices, actions and /WALLs to fe-irc-messages.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02"No such nick xx" is printed now with nick argument so it could getTimo Sirainen
printed to query window with xx git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01added "message own_public" and "message own_private" events that areTimo Sirainen
sent when /msg command is used. this way we don't need to parse the /msg's options everywhere. also efnet @#channels support works now better. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05Server events: switched order of data and server parameters. it's nowTimo Sirainen
SERVER_REC *server, const char *data, .. hope this doesn't cause too many problems :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-01Remove trailing spaces from mode changesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-01Netsplit printing fixes.Timo Sirainen
Print multiple identical mode changes in one line (mode +o nick by nick1, nick2, nick3) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26Mode ignores were checked wrongTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26netsplit fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26Added KILL handling - user/server kills are now printed formatted.Timo Sirainen
If server kills you, connect back (almost) immediately, it was probably just nick collision and you really want to connect back soon. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@869 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] toTimo Sirainen
fe-windows.[ch] git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28Cleaned up printtext.c, split part of it to formats.cTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14"/whois x x" - if x isn't found irssi now prints "there's no such nick x"Timo Sirainen
instead of complaining about unknown server x. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-10Moved join, part, quit, kick, nick, invite and topic printing to core.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01/SILENCE updates, added /UNSILENCE command.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@706 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30multiprotocol updates. SILC prints channel and private messages nowTimo Sirainen
using the same message formats as IRC. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25If /SET show_quit_once was set and ignored nick quitted, irssi printedTimo Sirainen
GLib warning. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@666 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06/SET default_nick -> /SET nickTimo Sirainen
/FORMAT own_me -> /FORMAT own_action git-svn-id: http://svn.irssi.org/repos/irssi/trunk@654 dbcabf3a-b0e7-0310-adc4-f8d773084564