From dba19a961bb0ba3f0d28eee20980ea808a70289d Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sun, 28 Aug 2016 21:18:44 -0400 Subject: fishlim: Add /keyx for DH1080 key exchange Losely based upon work from PR #1440 Fixes #653 --- plugins/fishlim/irc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/fishlim/irc.c') diff --git a/plugins/fishlim/irc.c b/plugins/fishlim/irc.c index deba545b..19b810eb 100644 --- a/plugins/fishlim/irc.c +++ b/plugins/fishlim/irc.c @@ -50,7 +50,9 @@ gboolean irc_parse_message(const char *words[], if (command) *command = words[w]; w++; - *parameters_offset = w; + if (parameters_offset) + *parameters_offset = w; + return TRUE; } -- cgit 1.4.1