diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-28 00:28:59 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-28 00:28:59 -0400 |
commit | aa9610a56ff18edd0703a3f391c90e1f8a761476 (patch) | |
tree | 5fceef5b811ffcb28bcea093b59604b94a2a89c1 /src/modes.cpp | |
parent | 4700c9626861b193798b3cf3d53fb89a913c5819 (diff) | |
parent | a2573a2c3067343ebf46292691671ba4bad855a8 (diff) |
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes.cpp b/src/modes.cpp index af4c2f879..6d8fca77e 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -87,7 +87,7 @@ void SetDefaultMLock() ChannelMode *cm = ModeManager::FindChannelModeByChar(Config.BotModes[i]); if (cm && cm->Type == MODE_STATUS && std::find(BotModes.begin(), BotModes.end(), cm) == BotModes.end()) - BotModes.push_back(dynamic_cast<ChannelModeStatus *>(cm)); + BotModes.push_back(debug_cast<ChannelModeStatus *>(cm)); } } @@ -730,7 +730,7 @@ char ModeManager::GetStatusChar(char Value) cm = it->second; if (cm->Type == MODE_STATUS) { - cms = dynamic_cast<ChannelModeStatus *>(cm); + cms = debug_cast<ChannelModeStatus *>(cm); if (Value == cms->Symbol) return it->first; |