summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2010-12-13 07:26:05 +0100
committerDukePyrolator <DukePyrolator@anope.org>2010-12-13 07:26:05 +0100
commit5d56a2486e8df749096c7d28400f0694a1f0c77a (patch)
treeffef387e2ef7ec95ffe70e2b2a163ac4c1f84d6a /modules/protocol/plexus.cpp
parenteb138a02d61f0cd0a51083ea3c682e2a6b5c24fd (diff)
changed a few 'if' to 'else if'
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp
index 9b12627eb..459e4d1ca 100644
--- a/modules/protocol/plexus.cpp
+++ b/modules/protocol/plexus.cpp
@@ -547,7 +547,7 @@ bool event_encap(const Anope::string &source, const std::vector<Anope::string> &
* params[2] = nickname
* params[3] = account
*/
- if (params[1].equals_cs("SU"))
+ else if (params[1].equals_cs("SU"))
{
User *u = finduser(params[2]);
NickAlias *user_na = findnick(params[2]);
@@ -566,7 +566,7 @@ bool event_encap(const Anope::string &source, const std::vector<Anope::string> &
* params[2] = nickname
* params[3] = fingerprint
*/
- if (params[1].equals_cs("CERTFP"))
+ else if (params[1].equals_cs("CERTFP"))
{
User *u = finduser(params[2]);
if (u)