diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/cs_getkey.c | 2 | ||||
| -rw-r--r-- | src/core/db_plain.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_getkey.c b/src/core/cs_getkey.c index 3fd53351f..85c901412 100644 --- a/src/core/cs_getkey.c +++ b/src/core/cs_getkey.c @@ -36,7 +36,7 @@ class CommandCSGetKey : public Command return MOD_CONT; } - if (!ci->c || !ci->c->GetParam(CMODE_KEY, &key)) + if (!ci->c || !ci->c->GetParam(CMODE_KEY, key)) { notice_lang(Config.s_ChanServ, u, CHAN_GETKEY_NOKEY, chan); return MOD_CONT; diff --git a/src/core/db_plain.cpp b/src/core/db_plain.cpp index 89fc8d469..10e21359c 100644 --- a/src/core/db_plain.cpp +++ b/src/core/db_plain.cpp @@ -1039,7 +1039,7 @@ class DBPlain : public Module } std::string Param; for (j = 0; ChannelModes[j].Value != -1; ++j) - if (ci->GetParam(ChannelModes[j].Value, &Param)) + if (ci->GetParam(ChannelModes[j].Value, Param)) db << "MD MLP " << ChannelModes[j].Name << " " << Param; if (!ci->memos.memos.empty()) { |
