mirror of
https://github.com/anope/anope.git
synced 2026-07-07 05:03:11 +02:00
Made the Flag class able to convert flags to strings and back
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ NickRequest::~NickRequest()
|
||||
* @param nick The nick
|
||||
* @param nickcore The nickcofe for this nick
|
||||
*/
|
||||
NickAlias::NickAlias(const Anope::string &nickname, NickCore *nickcore)
|
||||
NickAlias::NickAlias(const Anope::string &nickname, NickCore *nickcore) : Flags<NickNameFlag, NS_END>(NickNameFlagStrings)
|
||||
{
|
||||
if (nickname.empty())
|
||||
throw CoreException("Empty nick passed to NickAlias constructor");
|
||||
|
||||
Reference in New Issue
Block a user