diff options
author | Sven Moritz Hallberg <pesco@khjk.org> | 2010-10-01 22:14:45 +0200 |
---|---|---|
committer | Sven Moritz Hallberg <pesco@khjk.org> | 2010-10-01 22:14:45 +0200 |
commit | 7c91392c8525486876fe381b33f21b7dd508477c (patch) | |
tree | 7f1d3610c1e103303b124a7e1374ef0895fdb721 /otr.c | |
parent | 03e5fb7270815a8aecd77f9df8db3970a2c01195 (diff) |
give smp/smpq command handler a better name
Diffstat (limited to 'otr.c')
-rw-r--r-- | otr.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -157,7 +157,7 @@ irc_user_t *peeruser(irc_t *irc, const char *handle, const char *protocol); void otr_handle_smp(struct im_connection *ic, const char *handle, OtrlTLV *tlvs); /* combined handler for the 'otr smp' and 'otr smpq' commands */ -void otr_initiate_smp(irc_t *irc, const char *nick, const char *question, +void otr_smp_or_smpq(irc_t *irc, const char *nick, const char *question, const char *secret); /* update op/voice flag of given user according to encryption state and settings @@ -737,12 +737,12 @@ void cmd_otr_connect(irc_t *irc, char **args) void cmd_otr_smp(irc_t *irc, char **args) { - otr_initiate_smp(irc, args[1], NULL, args[2]); /* no question */ + otr_smp_or_smpq(irc, args[1], NULL, args[2]); /* no question */ } void cmd_otr_smpq(irc_t *irc, char **args) { - otr_initiate_smp(irc, args[1], args[2], args[3]); + otr_smp_or_smpq(irc, args[1], args[2], args[3]); } void cmd_otr_trust(irc_t *irc, char **args) @@ -1162,7 +1162,7 @@ void otr_handle_smp(struct im_connection *ic, const char *handle, OtrlTLV *tlvs) } /* combined handler for the 'otr smp' and 'otr smpq' commands */ -void otr_initiate_smp(irc_t *irc, const char *nick, const char *question, +void otr_smp_or_smpq(irc_t *irc, const char *nick, const char *question, const char *secret) { irc_user_t *u; |