diff options
author | Adam <Adam@anope.org> | 2011-03-06 19:36:52 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-06 19:36:52 -0500 |
commit | 093b3d258e7b14d2aa057ca6113de034b5063efe (patch) | |
tree | 3c169ecf5f2a8b299df32072834e040cf1d0966b /modules/extra/db_mysql.cpp | |
parent | 48e6221cf0f2592b85ef220876435b966b6a49ed (diff) |
Change the mode name code to use Flags names in preparation for extban support
Diffstat (limited to 'modules/extra/db_mysql.cpp')
-rw-r--r-- | modules/extra/db_mysql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/db_mysql.cpp b/modules/extra/db_mysql.cpp index f6dce95d2..c328bbb9d 100644 --- a/modules/extra/db_mysql.cpp +++ b/modules/extra/db_mysql.cpp @@ -53,7 +53,7 @@ static Anope::string MakeMLock(ChannelInfo *ci, bool status) ChannelMode *cm = ModeManager::FindChannelModeByName(ml.name); if (!cm || cm->Type != MODE_REGULAR) continue; - ret += " " + cm->NameAsString; + ret += " " + cm->NameAsString(); } } @@ -96,7 +96,7 @@ static Anope::string GetMLockParams(ChannelInfo *ci, bool onoff) { ChannelMode *cm = ModeManager::FindChannelModeByName(ml.name); if (cm) - ret += " " + cm->NameAsString + " " + ml.param; + ret += " " + cm->NameAsString() + " " + ml.param; } } } |