summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-16 21:36:07 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-16 21:36:07 +0000
commitb979bc46743bcb180af93f34b4bb337edce67b7d (patch)
tree2b419ca64151c0d1887eb77e89a0deee3c134f95 /include/inspircd.h
parentc28e8dc34a04c1c91b268687e9e0b4146d7c3c3a (diff)
Validate <server:id> on startup if provided, thx Brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h5
1 files changed, 5 insertions, 0 deletions
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();