summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-commands.c
AgeCommit message (Collapse)Author
2015-09-20Fix formatting warnings.Alexander Færøy
2015-05-15Implement CHANTYPES supportLemonBoy
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-08-05Syntax rewrite of U-Z commandsGeert Hauwaerts
Rewrote the syntax documentation of U-Z commands.
2014-07-30Removed the obsolete SQUERY and SERVLIST commandsGeert Hauwaerts
Removed the obsolete SQUERY and SERVLIST commands.
2014-07-14Removed the obsolete RPING commandGeert Hauwaerts
The RPING command is obsolete.
2014-07-09Removed the obsolete NOTE commandGeert Hauwaerts
I removed the binding for the NOTE command that doesn't exist anymore on any major network.
2014-06-20Avoid potential null dereferences.David Hill
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
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-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 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-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-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-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-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 undocumented /RAWQUOTE command.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4676 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-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-08Various updates/enhancements/fixes to the help files.Jilles Tjoelker
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06Don't add the same mask to the knockout list multiple times.Jilles Tjoelker
This fixes bug #510. Note that #510 only happened if multiple bans were sent before the MODE came back and multiple unbans were sent before the MODE came back. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4544 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
2006-01-30Only send QUOTE immediately when server didn't yet sent the 001 eventValentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-26changed /QUOTE to be sent immediately, since the queueing was changed, it's ↵Valentin Batz
not possible to do things like /quote PONG :cookie before event 001 has been received (required on some EFNet servers when you haven't got an identd) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4225 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-06-24Fix server->last_nick leak by Toby (Bug 267)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3794 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-18Fixed /KNOCK support.Geert Hauwaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-12Fix /WHOIS -yes (Bug 67)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-12Recent WHOIS changes broke nick's gone/oper flags. Patch by Valentin BatzTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3290 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
2004-07-11Fixed handling WHOIS printing once and for all. Everything unknown betweenTimo Sirainen
"beginning of whois" and "end of whois" events is now printed as whois_special. Removed whois_registered and whois_help, they're printed with whois_special as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23/WHOIS -<server tag> is supported now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3233 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-12-10/SET auto_whowas OFF allows now disabling automatic /whowas when /whoisTimo Sirainen
doesn't find a nick git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3192 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-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-03-10/KNOCKOUT code was a bit stupid, and the timeout checking wasn't veryTimo Sirainen
/accurate. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28Don't change the "wanted nick" when receiving NICK event from server, unlessTimo Sirainen
we did the /NICK change. This is useful with the new irc servers changing your nick to your UID instead of killing you, at reconnect time you'd get "invalid nick" when irssi would try setting the UID as your nick.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-30Removed settings_add_bool(.., "join_auto_chans_on_invite", ..) here, it'sTimo Sirainen
already done in channel-events.c and causes glib error. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2171 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-29/QUOTE and /RAWQUOTE shouldn't work until connect() to server is finished.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2165 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Removed whois_coming-flag which was used to figure out if 301 eventTimo Sirainen
should be printed as whois-message or normal "nick is away" message. Server redirections are used for that now. Some servers also send 301 event in /WHOWAS reply, this works now as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18If you did quickly /WHOIS existing_nick, /WHOIS not_existing_nick, irssiTimo Sirainen
printed one extra "End of WHOIS" message in screen. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2057 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15/QUOTE and /RAWQUOTE should work as soon as the socket is connected.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2020 dbcabf3a-b0e7-0310-adc4-f8d773084564