diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-08-28 21:18:44 -0400 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-10-08 14:48:49 -0400 |
commit | dba19a961bb0ba3f0d28eee20980ea808a70289d (patch) | |
tree | 5ebcd1d70a5d1ef282b50ebc950e018ee1998587 /plugins/fishlim/irc.c | |
parent | 65abf5c5324536b14985689bb97af61bf439d651 (diff) |
fishlim: Add /keyx for DH1080 key exchange
Losely based upon work from PR #1440 Fixes #653
Diffstat (limited to 'plugins/fishlim/irc.c')
-rw-r--r-- | plugins/fishlim/irc.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |