From 194957cb29e595e4f324448bf3bd35e2bd3b36f4 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 2 Oct 2008 14:23:04 +0000 Subject: valid_(nick|chan) -> Is(Nick|Chan)Valid git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1315 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 4 ++-- include/services.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index e0d02736a..15fb51aa7 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1253,8 +1253,8 @@ E int anope_flood_mode_check(const char *value); E void anope_SendJupe(const char *jserver, const char *who, const char *reason); -E int anope_valid_nick(const char *nick); -E int anope_valid_chan(const char *chan); +E int anope_IsNickValid(const char *nick); +E int anope_IsChannelValid(const char *chan); E char *common_get_vident(User *u); E char *common_get_vhost(User *u); diff --git a/include/services.h b/include/services.h index 674805213..671d12c23 100644 --- a/include/services.h +++ b/include/services.h @@ -1348,8 +1348,8 @@ class IRCDProto { new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL); } virtual void ProcessUsermodes(User *, int, const char **) = 0; - virtual int valid_nick(const char *) { return 1; } - virtual int valid_chan(const char *) { return 1; } + virtual int IsNickValid(const char *) { return 1; } + virtual int IsChannelValid(const char *) { return 1; } virtual int flood_mode_check(const char *) { return 0; } virtual void cmd_numeric(const char *source, int numeric, const char *dest, const char *buf) { -- cgit