summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-commands.c
AgeCommit message (Collapse)Author
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
2001-11-15/WHOIS nick_who_was_in_irc showed only the first and last lines of /WHOWAS.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2018 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-11Redirection fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1983 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11/WHOIS unknown_nick printed the "there was no such nickname" messageTimo Sirainen
as well as the "there is no such nick" message. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1981 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-04Looks like I went and broke /PART accidentally..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1970 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-08-14Some internal changes how /SERVER command works. Added /SERVER PURGETimo Sirainen
[<target>] command. The channel output is purged at /PART if the output queue is larger than 10. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27/NICK: don't bother trying to change the nick to the one you already haveTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1577 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26Don't send unaway to server if we're not away.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14new /KICKBAN code crashedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11CHANNEL_REC->get_join_data() - Returns the information needed to callTimo Sirainen
SERVER_REC->channels_join() for this channel. Usually just the channel name, but may contain also the channel key. If we receive PART-message to channel that hasn't received a JOIN yet, don't destroy the channel. It's probably because we did quickly /PART + /JOIN. Moved /CYCLE to fe-common/core, it doesn't close the window for the cycled channel anymore if you had autoclosing on. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11/SET kick_first_on_kickban for /KICKBAN and /KNOCKOUT - patch byTimo Sirainen
Jakub Jankowski <shasta@irc.pl> git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1469 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-18/RAWQUOTE: like /QUOTE, but don't add line feed after the command, and don'tTimo Sirainen
truncate line to 512 bytes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1410 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16quit_message setting moved from irc to coreTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15/NICK could have changed nick to some other nick than we specifiedTimo Sirainen
(/NICK nick!blah -> nick) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1394 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04/NAMES: -ops -halfops -voices -normal options added. /NAMES withoutTimo Sirainen
parameters now prints nicklist in active channel, /NAMES ** shows all nicks in all channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1332 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-02-19Connection updates: moved /SERVER and /CONNECT to core from irc.Timo Sirainen
Several other related multiprotocol updates. Removed /SILCSERVER from SILC, /CONNECT and /SERVER should work properly now. Rejoining channels after reconnection works. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17Config file: ircnets -> chatnets, added type = "chat protocol" toTimo Sirainen
chatnet config. Moved reading chatnets to core. Lots of other multiprotocol updates. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09/CONNECT, /SERVER: added -4 and -6 options for specifying if we shouldTimo Sirainen
connect to IPv4 or IPv6 address of the server. If -host or /SET hostname is set irssi determines from it if it should use IPv4 or v6. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-17/WHOIS without parameters in query does now same as /WII <queried nick>Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11cmd_param_error -> cmd_return_errorTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1103 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/LIST: don't require -yes option if there's 1000 channels or less.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1057 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01small extra checks to /whois redirect checkingTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01Added/moved several "typedef struct _XXX XXX;" to common.h so thatTimo Sirainen
they're known to all files and I don't need those stupid "void *xxx" anymore just to avoid useless #include. Header files themselves don't either include others as often anymore. Added channel->ownnick to point to our NICK_REC in channel's nicks. Gives a minor speedup in few places :) Moved completion specific lastmsgs from channel/server core records to fe-common/core specific records. Also changed the nick completion logic a bit so it should work better now. Removed completion_keep_publics_count setting, but changed the meaning of completion_keep_publics to same as _count was before. Nick completion doesn't have any time specific code anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17/SET prompt, /SET prompt_window - Specifies the text in prompt.Timo Sirainen
'prompt' is used when channel or query is active in window and 'prompt_window' is used with empty windows. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17/kickban and /knockout now accepts multiple nicks separated with commas.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1000 dbcabf3a-b0e7-0310-adc4-f8d773084564