diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-17 02:02:20 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-17 02:02:20 +0000 |
commit | 3fe5aa037ac907a2e557cc5019588344eaf8dc9f (patch) | |
tree | 3189c4f543c52c97f9e186606fe9aa838849013f /src/core | |
parent | 7af9e42d2150e17139342cb56c3617dc9b75859a (diff) |
Fix numerous errors in Win32 building under Visual Studio due to the many changes to trunk. Trunk now builds under Windows like it should.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
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; } |