summaryrefslogtreecommitdiff
path: root/src/nickserv.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
commitd2d64e17e730848eaa7081c6bd6eddcea8973428 (patch)
tree7429c903b84f63f064fa418df93e9b1b2eeb2c7a /src/nickserv.c
parentb7561cabd317bf34301e68915ed471ad02d9e987 (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.c5
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