Changeset 7c91392


Ignore:
Timestamp:
2010-10-01T20:14:45Z (9 years ago)
Author:
Sven Moritz Hallberg <pesco@…>
Branches:
master
Children:
f26db4a8
Parents:
03e5fb7
Message:

give smp/smpq command handler a better name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • otr.c

    r03e5fb7 r7c91392  
    158158
    159159/* combined handler for the 'otr smp' and 'otr smpq' commands */
    160 void otr_initiate_smp(irc_t *irc, const char *nick, const char *question,
     160void otr_smp_or_smpq(irc_t *irc, const char *nick, const char *question,
    161161                const char *secret);
    162162
     
    738738void cmd_otr_smp(irc_t *irc, char **args)
    739739{
    740         otr_initiate_smp(irc, args[1], NULL, args[2]);  /* no question */
     740        otr_smp_or_smpq(irc, args[1], NULL, args[2]);   /* no question */
    741741}
    742742
    743743void cmd_otr_smpq(irc_t *irc, char **args)
    744744{
    745         otr_initiate_smp(irc, args[1], args[2], args[3]);
     745        otr_smp_or_smpq(irc, args[1], args[2], args[3]);
    746746}
    747747
     
    11631163
    11641164/* combined handler for the 'otr smp' and 'otr smpq' commands */
    1165 void otr_initiate_smp(irc_t *irc, const char *nick, const char *question,
     1165void otr_smp_or_smpq(irc_t *irc, const char *nick, const char *question,
    11661166                const char *secret)
    11671167{
Note: See TracChangeset for help on using the changeset viewer.