diff options
author | ChrisTX <xpipe@hotmail.de> | 2013-08-31 01:17:07 +0200 |
---|---|---|
committer | ChrisTX <xpipe@hotmail.de> | 2013-08-31 01:17:07 +0200 |
commit | 426752022ee4b5158b4cfc6c4531fff285029071 (patch) | |
tree | f5bcc0575d114582e17a5f44200cd0425f41d4f0 /src/modules | |
parent | 5661a9eddbb86f22e40b70bef64581e590ed34c6 (diff) |
Improve support for rarely used compilers, EKOPath in this case.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_ident.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_silence.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 6099e7c14..f0ced1db7 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -362,7 +362,7 @@ class ModuleIdent : public Module /* wooo, got a result (it will be good, or bad) */ if (isock->result.empty()) { - user->ident.insert(0, 1, '~'); + user->ident.insert(user->ident.begin(), 1, '~'); user->WriteServ("NOTICE Auth :*** Could not find your ident, using %s instead.", user->ident.c_str()); } else diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index 817c8ffcf..ce5b26500 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -87,7 +87,7 @@ class CommandSVSSilence : public Command if (IS_LOCAL(u)) { - ServerInstance->Parser->CallHandler("SILENCE", std::vector<std::string>(++parameters.begin(), parameters.end()), u); + ServerInstance->Parser->CallHandler("SILENCE", std::vector<std::string>(parameters.begin() + 1, parameters.end()), u); } return CMD_SUCCESS; |