summaryrefslogtreecommitdiff
path: root/src/core/chat-commands.c
AgeCommit message (Collapse)Author
2002-02-03target_type for "/MSG *" wasn't set properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03Added target_type to send_message(), -channel and -nick parameters to /MSGTimo Sirainen
to specify if it's supposed to be to channel/nick. /MSG -channel is used automatically by irssi when sending messages to channel (the "normal" way without /msg). This should help with protocols that don't have any channel name prefixes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-30/CONNECT and /SERVER crashed without parametersTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-26Added -rawlog <file> option to /CONNECT and /SERVER, so you can get theTimo Sirainen
rawlog from servers that disconnect you too fast. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2346 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-19Added -noproxy option to /CONNECT and /SERVER.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-21/FOREACH QUERY did actually same as /FOREACH CHANNEL :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19/CONNECT -! doesn't autojoin to channels.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2082 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-11-01server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). AddedTimo Sirainen
#define server_ischannel(server, data) and it's now used everywhere.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Added reference counter to SERVER_CONNECT_REC. Since it's being moved aroundTimo Sirainen
a lot in reconnects etc. this should make it easier to track when it's supposed to be destroyed. Hopefully fixes a crash I assume is related to this but couldn't find.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 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-08-05/MSG * in empty window now prints "not joined" errorTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Another /FOREACH update - it only goes through the currentTimo Sirainen
servers/channels/queries, if the command creates new ones it skips them (ie. /FOREACH CHANNEL /CYCLE works now). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14/FOREACH won't crash now if the command removes the item being accessedTimo Sirainen
(ie. /foreach server disconnect should work) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1625 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-08/CONNECT -ircnet didn't load ircnet specific settings correctlyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1363 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-05/SERVER: don't set reconnection to TRUE if we're not disconnecting fromTimo Sirainen
any server git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory andTimo Sirainen
at connect() time it's decided which one should be used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21/FOREACH server|channel|query|window <command>Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19Moved autoconnects and command line parameter parsing from irc to core.Timo Sirainen
Added not_initialized parameter to chat protocols that are created using chat_protocol_get_unknown(). /CONNECT doesn't crash now with non-initialized protocols but instead complains about them. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1248 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-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-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-10-14Autorejoin when join temporarily fails because of netsplit is handledTimo Sirainen
better now. Irssi prints a nice message about it only once and you can abort it with /RMREJOINS command. "channel query" -> "channel joined" channels_join() must not use cmd_return|param_error() commands since we don't necessarily call it from command handler and signal_stop() could cause some damage. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30forgot to add thisTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@702 dbcabf3a-b0e7-0310-adc4-f8d773084564