diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-24 00:46:53 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-24 00:46:53 +0000 |
| commit | 3ffd9179262242acc01ed93b749aa55a938cf381 (patch) | |
| tree | f199314aa20920c5136206755786413ba5e809c0 /src/core | |
| parent | 14fc57d24b5b3ed622d0603011d33b06780ca071 (diff) | |
Rewrote arg parsing system, changed lots of std::string*s to std::string&, made --config arg, and made Anope print out a few lines of information when starting
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2833 5417fbe8-f217-4b02-8779-1006273d7864
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()) { |
