mirror of
https://github.com/anope/anope.git
synced 2026-07-03 04:23:13 +02:00
Made the Flag class able to convert flags to strings and back
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ time_t maxusertime;
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
|
||||
User::User(const Anope::string &snick, const Anope::string &sident, const Anope::string &shost, const Anope::string &suid)
|
||||
User::User(const Anope::string &snick, const Anope::string &sident, const Anope::string &shost, const Anope::string &suid) : modes(UserModeNameStrings)
|
||||
{
|
||||
if (snick.empty() || sident.empty() || shost.empty())
|
||||
throw CoreException("Bad args passed to User::User");
|
||||
|
||||
Reference in New Issue
Block a user