diff options
| author | 2007-05-13 18:08:37 +0000 | |
|---|---|---|
| committer | 2007-05-13 18:08:37 +0000 | |
| commit | 74c85f2c45b8207d4aa4b80a97f4c298ede28b56 (patch) | |
| tree | b260e59deb85e236dbef49855a655d8a54383a9c /src/inspircd.cpp | |
| parent | Remove static linking support craq that hasn't been working/used since 1.0 cy... (diff) | |
Move IsIdent() into helperfuncs.cpp along with IsNick/IsChannel.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7016 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index c78f44f46..808234518 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -918,26 +918,6 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) SocketCull.clear(); } -bool InspIRCd::IsIdent(const char* n) -{ - if (!n || !*n) - return false; - - for (char* i = (char*)n; *i; i++) - { - if ((*i >= 'A') && (*i <= '}')) - { - continue; - } - if (((*i >= '0') && (*i <= '9')) || (*i == '-') || (*i == '.')) - { - continue; - } - return false; - } - return true; -} - int InspIRCd::Run() { while (true) |
