summaryrefslogtreecommitdiff
path: root/src/nickserv.c
diff options
context:
space:
mode:
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