X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fusers.cpp;h=90978a49683e24cae0e112fe041d6acda3184563;hb=8db52f66a2ff587457c34889b31e7ef70876c7fa;hp=06a1c1149d93e67f3a363c300d0eaa8bddd7fa0f;hpb=0c3b041d1b36d1515913da5230399b379a802b81;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/users.cpp b/src/users.cpp index 06a1c1149..90978a496 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -33,7 +33,7 @@ bool User::IsNoticeMaskSet(unsigned char sm) return (snomasks[sm-65]); } -bool User::IsModeSet(unsigned char m) +bool User::IsModeSet(unsigned char m) const { ModeHandler* mh = ServerInstance->Modes->FindMode(m, MODETYPE_USER); return (mh && modes[mh->GetId()]);