summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-commands.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-28 20:00:39 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-28 20:00:39 +0000
commit8fc1e0535cafca563165bb4ebb12d1fe1dc4b041 (patch)
tree5407270af9e8f374e7cb3c01a953565be6fd366f /src/irc/core/irc-commands.h
parent7e531cec7a80a3bc6cecb844d66ae5127f7e7a94 (diff)
downloadirssi-8fc1e0535cafca563165bb4ebb12d1fe1dc4b041.zip
You can send message to different server with /MSG -<server tag> nick...
Tab-completion changes: - in empty line, it completed /MSG nick1 fine, but another tab press didn't give the next nick. - "/command <tab>" doesn't try to complete /command, but instead it tries to complete it's subcommand or first parameter. - /MSG completion now goes through nicks in ALL servers prefixing the nick with -<server tag> if needed. - /MSG -tag <tab> completes only nicks in "tag" server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@388 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-commands.h')
-rw-r--r--src/irc/core/irc-commands.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/irc/core/irc-commands.h b/src/irc/core/irc-commands.h
new file mode 100644
index 00000000..6d4535a0
--- /dev/null
+++ b/src/irc/core/irc-commands.h
@@ -0,0 +1,8 @@
+#ifndef __IRC_COMMANDS_H
+#define __IRC_COMMANDS_H
+
+/* `optlist' should contain only one key - the server tag.
+ returns NULL if there was unknown -option */
+IRC_SERVER_REC *irccmd_options_get_server(GHashTable *optlist, IRC_SERVER_REC *defserver);
+
+#endif