From 3fbb493d57cda0ed348db6933c329180d872439a Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 6 May 2013 01:38:27 -0400 Subject: Fix extras build --- modules/extra/m_sql_authentication.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/extra/m_sql_authentication.cpp') diff --git a/modules/extra/m_sql_authentication.cpp b/modules/extra/m_sql_authentication.cpp index 693f06b33..ecc8700f6 100644 --- a/modules/extra/m_sql_authentication.cpp +++ b/modules/extra/m_sql_authentication.cpp @@ -1,8 +1,7 @@ #include "module.h" -#include "sql.h" +#include "modules/sql.h" static Module *me; -static ServiceReference nickserv("NickServService", "NickServ"); class SQLAuthenticationResult : public SQL::Interface { @@ -43,7 +42,7 @@ class SQLAuthenticationResult : public SQL::Interface { na = new NickAlias(req->GetAccount(), new NickCore(req->GetAccount())); FOREACH_MOD(I_OnNickRegister, OnNickRegister(user, na)); - if (user && nickserv) + if (user && NickServ) user->SendMessage(NickServ, _("Your account \002%s\002 has been successfully created."), na->nick.c_str()); } -- cgit