diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_banredirect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp index a0c9bc750..64a5855ae 100644 --- a/src/modules/m_banredirect.cpp +++ b/src/modules/m_banredirect.cpp @@ -43,10 +43,10 @@ class BanRedirectEntry bool operator<(const BanRedirectEntry& other) const { - if (this->targetchan < other.targetchan) - return true; + if (targetchan != other.targetchan) + return targetchan < other.targetchan; - return this->banmask < other.banmask; + return banmask < other.banmask; } }; |