diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-24 19:09:05 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-24 19:09:05 +0100 |
commit | 34ded90e19635c7ebf2afd184f36b03abc879bec (patch) | |
tree | 93c748b24caa42f27b33482365bdb66af0fbe1c8 /protocols/jabber/jabber.h | |
parent | 164352ef9d3e8b4b2eea8ec64c3b4590b2388b18 (diff) |
Slight cleanup: Use a constant instead of just "jabber_oauth" everywhere,
and added some safeguards to keep the user from messaging it when we're
not actually doing OAuth setup.
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r-- | protocols/jabber/jabber.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h index 76546bde..046741a3 100644 --- a/protocols/jabber/jabber.h +++ b/protocols/jabber/jabber.h @@ -193,6 +193,7 @@ struct jabber_transfer }; #define JABBER_XMLCONSOLE_HANDLE "xmlconsole" +#define JABBER_OAUTH_HANDLE "jabber_oauth" /* Prefixes to use for packet IDs (mainly for IQ packets ATM). Usually the first one should be used, but when storing a packet in the cache, a |