From 89537ed2ab22fcedb25e0378bd2c18e392911c0c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Sep 2022 12:01:29 +0100 Subject: Fix various cases of the &* being next to the name instead of type. --- src/helperfuncs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/helperfuncs.cpp') 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 -- cgit v1.3.1-10-gc9f91