diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
commit | d2d64e17e730848eaa7081c6bd6eddcea8973428 (patch) | |
tree | 7429c903b84f63f064fa418df93e9b1b2eeb2c7a /src/nickserv.c | |
parent | b7561cabd317bf34301e68915ed471ad02d9e987 (diff) |
Move users to a basic class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1187 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/nickserv.c')
-rw-r--r-- | src/nickserv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nickserv.c b/src/nickserv.c index 6fda8b1f7..abda6e10e 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -1230,6 +1230,11 @@ NickAlias *findnick(const char *nick) return NULL; } +NickAlias *findnick(const std::string &nick) +{ + return findnick(nick.c_str()); +} + /*************************************************************************/ /* Return the NickCore structure for the given nick, or NULL if the core |