summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-06 18:07:55 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-06 18:07:55 +0000
commitf8114c834f8228c39bd0a3ea88a6edff749a4f4a (patch)
tree6f0f5ee27b73939d8305f2efc22f5f0c796d87e7
parent3a2b45559f25bb7390ec1260dba9085b6856382f (diff)
downloadirssi-f8114c834f8228c39bd0a3ea88a6edff749a4f4a.zip
DCC /MSG handlers broke /MSG -ircnet
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2396 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-common/irc/dcc/fe-dcc-chat.c4
-rw-r--r--src/irc/dcc/dcc-chat.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/fe-common/irc/dcc/fe-dcc-chat.c b/src/fe-common/irc/dcc/fe-dcc-chat.c
index 61bce279..74d0d70b 100644
--- a/src/fe-common/irc/dcc/fe-dcc-chat.c
+++ b/src/fe-common/irc/dcc/fe-dcc-chat.c
@@ -235,8 +235,8 @@ static void cmd_msg(const char *data)
g_return_if_fail(data != NULL);
- if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTIONS |
- PARAM_FLAG_GETREST, "msg",
+ if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_UNKNOWN_OPTIONS |
+ PARAM_FLAG_OPTIONS | PARAM_FLAG_GETREST, "msg",
&optlist, &target, &text))
return;
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c
index c6e9f9b8..93aaaf55 100644
--- a/src/irc/dcc/dcc-chat.c
+++ b/src/irc/dcc/dcc-chat.c
@@ -182,8 +182,8 @@ static void cmd_msg(const char *data)
g_return_if_fail(data != NULL);
- if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTIONS |
- PARAM_FLAG_GETREST, "msg",
+ if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_UNKNOWN_OPTIONS |
+ PARAM_FLAG_OPTIONS | PARAM_FLAG_GETREST, "msg",
&optlist, &target, &text))
return;