summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_who.cpp1
-rw-r--r--src/dynamic.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/coremods/core_who.cpp b/src/coremods/core_who.cpp
index 4757375c7..305733e03 100644
--- a/src/coremods/core_who.cpp
+++ b/src/coremods/core_who.cpp
@@ -346,7 +346,6 @@ bool CommandWho::MatchUser(LocalUser* source, User* user, WhoData& data)
match = InspIRCd::Match(user->nick, data.matchtext);
}
- ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "MATCH: %u", match);
return match;
}
diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index f138b04d1..08564a0cd 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -96,7 +96,7 @@ void DLLManager::RetrieveLastError()
SetLastError(ERROR_SUCCESS);
err = errmsg;
#else
- char* errmsg = dlerror();
+ const char* errmsg = dlerror();
err = errmsg ? errmsg : "Unknown error";
#endif