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/chanserv.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/chanserv.cpp')
| -rw-r--r-- | src/chanserv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chanserv.cpp b/src/chanserv.cpp index bcfe239cd..07ebe9525 100644 --- a/src/chanserv.cpp +++ b/src/chanserv.cpp @@ -160,7 +160,7 @@ Anope::string get_mlock_modes(ChannelInfo *ci, int complete) if (cm->Type == MODE_PARAM) { - cmp = dynamic_cast<ChannelModeParam *>(cm); + cmp = debug_cast<ChannelModeParam *>(cm); ci->GetParam(cmp->Name, param); @@ -343,7 +343,7 @@ void check_modes(Channel *c) /* Add the eventual parameter */ if (cm->Type == MODE_PARAM) { - ChannelModeParam *cmp = dynamic_cast<ChannelModeParam *>(cm); + ChannelModeParam *cmp = debug_cast<ChannelModeParam *>(cm); if (!cmp->MinusNoArg) { |
