diff options
| author | 2022-09-29 12:01:29 +0100 | |
|---|---|---|
| committer | 2022-09-29 12:36:01 +0100 | |
| commit | 89537ed2ab22fcedb25e0378bd2c18e392911c0c (patch) | |
| tree | 4cdea30cb16c0a044d80ba4bab8ef9a645c90824 /src/helperfuncs.cpp | |
| parent | Use NOMINMAX on Windows and undefine error in the log header. (diff) | |
Fix various cases of the &* being next to the name instead of type.
Diffstat (limited to 'src/helperfuncs.cpp')
| -rw-r--r-- | src/helperfuncs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 236f2e9de..1dbc62cb9 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -36,7 +36,7 @@ #include "inspircd.h" #include "xline.h" -bool InspIRCd::IsValidMask(const std::string &mask) +bool InspIRCd::IsValidMask(const std::string& mask) { const char* dest = mask.c_str(); int exclamation = 0; @@ -71,7 +71,7 @@ bool InspIRCd::IsValidMask(const std::string &mask) return true; } -void InspIRCd::StripColor(std::string &sentence) +void InspIRCd::StripColor(std::string& sentence) { /* refactor this completely due to SQUIT bug since the old code would strip last char and replace with \0 --peavey */ int seq = 0; @@ -263,7 +263,7 @@ bool InspIRCd::IsHost(const std::string& host) return numdots; } -bool InspIRCd::IsSID(const std::string &str) +bool InspIRCd::IsSID(const std::string& str) { /* Returns true if the string given is exactly 3 characters long, * starts with a digit, and the other two characters are A-Z or digits |
