From b979bc46743bcb180af93f34b4bb337edce67b7d Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 16 Jan 2008 21:36:07 +0000 Subject: Validate on startup if provided, thx Brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index c60f7c230..320aa83ca 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -619,6 +619,11 @@ class CoreExport InspIRCd : public classbase */ bool IsChannel(const char *chname); + /** Return true if str looks like a server ID + * @param string to check against + */ + bool IsSID(const std::string &str); + /** Rehash the local server */ void Rehash(); -- cgit v1.2.3