diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/bs_badwords.c | 2 | ||||
-rw-r--r-- | src/core/ns_recover.c | 2 | ||||
-rw-r--r-- | src/core/ns_release.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/bs_badwords.c b/src/core/bs_badwords.c index ad1bb7e49..5c6c77199 100644 --- a/src/core/bs_badwords.c +++ b/src/core/bs_badwords.c @@ -68,7 +68,7 @@ class CommandBSBadwords : public Command return MOD_CONT; } - pos = strrchr(word, ' '); + pos = strrchr(const_cast<char *>(word), ' '); // XXX - Potentially unsafe cast if (pos) { opt = pos + 1; diff --git a/src/core/ns_recover.c b/src/core/ns_recover.c index b4e3b9d44..98e4a9512 100644 --- a/src/core/ns_recover.c +++ b/src/core/ns_recover.c @@ -89,7 +89,7 @@ class CommandNSRecover : public Command duration(u->nc, relstr, sizeof(relstr), NSReleaseTimeout); notice_help(s_NickServ, u, NICK_HELP_RECOVER, relstr); - do_help_limited(s_NickServ, u, this); + //do_help_limited(s_NickServ, u, this); return MOD_CONT; } diff --git a/src/core/ns_release.c b/src/core/ns_release.c index 3767fbbb8..d2ce4c57e 100644 --- a/src/core/ns_release.c +++ b/src/core/ns_release.c @@ -77,7 +77,7 @@ class CommandNSRelease : public Command duration(u->nc, relstr, sizeof(relstr), NSReleaseTimeout); notice_help(s_NickServ, u, NICK_HELP_RELEASE, relstr); - do_help_limited(s_NickServ, u, this); + //do_help_limited(s_NickServ, u, this); return true; } |