summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-irc-commands.c
AgeCommit message (Collapse)Author
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2014-09-11source cleanup: remove trailing whitespacesMichael Vetter
2014-07-06Split long IRC `ACTION' messagesSebastian Thorarensen
Add line splitting logic to commands `/me' and `/action'.
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
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
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-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-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-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
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-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-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
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
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-08-20Recode patch by decadix/sennethTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14Correct handling of /NOTICE @#channel, patch by dgTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2948 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-12Split nick and host for topic info format.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-30/notice *, /ctcp * and /nctcp * crashed if there wasn't active window item.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2743 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16/ACTION supports -servertag now and tab completion works with it like withTimo Sirainen
/MSG. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Added support for 326 and 327 whois numerics in OPN.Timo Sirainen
Removed keeping track of ban exceptions and invite list. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2212 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-04Stupid me, remembered wrong how PARAM_FLAG_OPTCHAN worked. This broke /CTCP,Timo Sirainen
/NCTCP and /NOTICE for non-channel targets. Back to old code, except "*" is now treated as active target. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03* works now as active channel with /NOTICE, /CTCP and /NCTCP.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1967 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-10-21Remove SYNTAX: OPER from here - it's already in core (and syntax.pl getsTimo Sirainen
twice the same syntaxes currently..) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Some support for lain ircd's /SETHOST - It /PART + /JOINs all channels, soTimo Sirainen
add all the joined channels to window binds temporarily so /PART doesn't close the windows if /SET autoclose_windows is ON. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13/INVITELIST prints "Invite list is empty" message and complains about notTimo Sirainen
being synced. Changed level to CLIENTNOTICE when printing the "no bans" message. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25SYNTAX: ACTION updated - target is requiredTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-04Added support for bahamut @+#channel notices. Removed notice_public_opsTimo Sirainen
format, notice_public is just fine if the channel just contains @ or @+ at the beginning. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17Getting rid of gettext, moved some _(..) texts to themes and left some errorTimo Sirainen
messages hard coded. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-29/nctcp crashedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1171 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-14Added my_asctime()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05Removed wrong SYNTAX: NOTICE, it's already correctly in irc/coreTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04Added keyboard_entry_redirect() function to keyboard.[ch] which sendsTimo Sirainen
the signal "gui entry redirect" signal. Added possibility to keep the entry hidden. /OPER [<nick> [<password>]] - syntax changed. If password isn't given, it's asked. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04/UNBAN <ref#> works. /BAN list shows reference numbers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1062 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-11-17Remember who set the topic and when, display the info when using /TOPIC.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@845 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-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-19Irssi crashed if you used "/JOIN" or "/JOIN -invite" without connectedTimo Sirainen
to server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@662 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06/set autocreate_query -> /set autocreate_query_levelTimo Sirainen
fixes to /ircnet, /server and /channel commands other updates and fixes git-svn-id: http://svn.irssi.org/repos/irssi/trunk@649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-02Updates.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-25/BAN could crash when showing bansTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12Query windows are now restored if they were saved with /SAVEWINDOWS.Timo Sirainen
Moved /QUERY command handling to fe-query and simplified handling the -window option. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@594 dbcabf3a-b0e7-0310-adc4-f8d773084564