summaryrefslogtreecommitdiff
path: root/include/extern.h
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:13 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:13 +0000
commite03c14cf1da821f98ec607732117636deedee780 (patch)
treefdb92e367e7b64cb92ad56e3c7959bde36461c2a /include/extern.h
parenta3a360394e4bc9e1c33a278e05364a0a1a610421 (diff)
Initialise everything properly to avoid crashes. Also, fix a prototype to fix runtime halt due to unresolved sym.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1274 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/extern.h')
-rw-r--r--include/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h
index 5bbb39540..2881b88ec 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1299,8 +1299,8 @@ E int anope_flood_mode_check(const char *value);
E void anope_cmd_jupe(const char *jserver, const char *who, const char *reason);
-E int anope_valid_nick(char *nick);
-E int anope_valid_chan(char *chan);
+E int anope_valid_nick(const char *nick);
+E int anope_valid_chan(const char *chan);
E char *common_get_vident(User *u);
E char *common_get_vhost(User *u);