summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
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();