summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-protocol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index f65e5537f..766692799 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -3395,9 +3395,10 @@ IRC_PROTOCOL_CALLBACK(352)
* :server 352 mynick #channel user host server nick (*) (H/G) :0 flashcode
*/
- IRC_PROTOCOL_MIN_ARGS(9);
-
arg_start = (strcmp (argv[8], "*") == 0) ? 9 : 8;
+
+ IRC_PROTOCOL_MIN_ARGS(arg_start + 1);
+
if (argv[arg_start][0] == ':')
{
pos_attr = NULL;