summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 11:01:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 11:01:20 +0000
commitc3f6fdd8a73ec7c8fd73f8a3cbcaa0b9aae234ad (patch)
tree644539fac2f6a739f35ae196cdc9ca59bec2b077 /src/helperfuncs.cpp
parentd2be3310ba2cfb567f2cf0272a086b2961c86d6f (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.cpp4
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);