diff options
| author | 2007-08-27 11:01:20 +0000 | |
|---|---|---|
| committer | 2007-08-27 11:01:20 +0000 | |
| commit | c3f6fdd8a73ec7c8fd73f8a3cbcaa0b9aae234ad (patch) | |
| tree | 644539fac2f6a739f35ae196cdc9ca59bec2b077 /src/helperfuncs.cpp | |
| parent | Add a call to the NICK handler that allows toggling of allowing invalid nicks... (diff) | |
Fix obligotary typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7870 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
| -rw-r--r-- | src/helperfuncs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index d4fef141b..223099c45 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -236,7 +236,7 @@ void InspIRCd::WriteMode(const char* modes, int flags, const char* text, ...) /* Find a user record by nickname and return a pointer to it */ userrec* InspIRCd::FindNick(const std::string &nick) { - if (!nick.empty() && isnumeric(*nick.begin())) + if (!nick.empty() && isdigit(*nick.begin())) return FindUUID(nick); user_hash::iterator iter = clientlist->find(nick); @@ -250,7 +250,7 @@ userrec* InspIRCd::FindNick(const std::string &nick) userrec* InspIRCd::FindNick(const char* nick) { - if (isnumeric(*nick)) + if (isdigit(*nick)) return FindUUID(nick); user_hash::iterator iter = clientlist->find(nick); |
