diff options
Diffstat (limited to 'src/core/db_plain.cpp')
-rw-r--r-- | src/core/db_plain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/db_plain.cpp b/src/core/db_plain.cpp index 0f4d6ccb5..5cc6ab42b 100644 --- a/src/core/db_plain.cpp +++ b/src/core/db_plain.cpp @@ -105,7 +105,7 @@ static void ReadDatabase(Module *m = NULL) } else if (params[0] == "CH") { - ci = cs_findchan(params[1].c_str()); + ci = cs_findchan(params[1]); Type = MD_CH; } else if (params[0] == "MD") @@ -435,7 +435,7 @@ static void LoadBotInfo(const std::vector<std::string> ¶ms) bi->real = sstrdup(params[6].c_str()); if (debug > 1) - alog("[db_plain]: Loaded botinfo for %s", bi->nick); + alog("[db_plain]: Loaded botinfo for %s", bi->nick.c_str()); } static void LoadChanInfo(const std::vector<std::string> ¶ms) |