diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | b3df8dbfb1943030adb6f72f5c3cee509d6ffa5e (patch) | |
tree | 0836878e5d71409875cf057657691b70f3c5fd79 /src/modules/hs_request.c | |
parent | 792b705757dc01a9b12c3bb4f0b8855c25dbde07 (diff) |
Fix src/modules/ so they compile with stricter g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1204 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/hs_request.c')
-rw-r--r-- | src/modules/hs_request.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c index d4ab61116..59404bd4e 100644 --- a/src/modules/hs_request.c +++ b/src/modules/hs_request.c @@ -331,7 +331,7 @@ void req_send_memos(User * u, char *vHost) int ns_do_drop(User * u) { HostCore *tmp; - boolean found = false; + bool found = false; NickAlias *na; na = findnick(u->nick); @@ -349,7 +349,7 @@ int hs_do_reject(User * u) char *nick; char *reason; HostCore *tmp, *hc; - boolean found = false; + bool found = false; cur_buffer = moduleGetLastBuffer(); nick = myStrGetToken(cur_buffer, ' ', 0); @@ -398,7 +398,7 @@ int hs_do_activate(User * u) char *nick; NickAlias *na; HostCore *tmp, *hc; - boolean found = false; + bool found = false; cur_buffer = moduleGetLastBuffer(); nick = myStrGetToken(cur_buffer, ' ', 0); @@ -442,7 +442,7 @@ void my_add_host_request(char *nick, char *vIdent, char *vhost, char *creator, int32 tmp_time) { HostCore *tmp; - boolean found = false; + bool found = false; if (!hs_request_head) { hs_request_head = @@ -647,7 +647,7 @@ void hsreq_save_db(void) { FILE *fp; char *filename; - char *vident; + const char *vident; HostCore *current; if (HSRequestDBName) |