aboutsummaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-05-11 03:53:43 +0100
committerGravatar Sadie Powell2021-05-11 04:07:45 +0100
commit3ca912ad71cdc4004401e0977be73c674bb91fbc (patch)
treecf57b43229becfc3d9c8532a2d4f18f095f024ec /src/helperfuncs.cpp
parentOptimise building the link data string. (diff)
parentSend ERR_BADCHANMASK when trying to OJOIN/SAJOIN an invalid channel. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 709dcca17..90d6d20a5 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -271,7 +271,7 @@ bool InspIRCd::IsSID(const std::string &str)
*/
return ((str.length() == 3) && isdigit(str[0]) &&
((str[1] >= 'A' && str[1] <= 'Z') || isdigit(str[1])) &&
- ((str[2] >= 'A' && str[2] <= 'Z') || isdigit(str[2])));
+ ((str[2] >= 'A' && str[2] <= 'Z') || isdigit(str[2])));
}
/** A lookup table of values for multiplier characters used by