diff options
author | Adam <Adam@anope.org> | 2013-05-06 01:38:27 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-06 01:38:27 -0400 |
commit | 3fbb493d57cda0ed348db6933c329180d872439a (patch) | |
tree | 7728c68c261230ef54a0962a168d96c3f1ee4873 /modules/extra/m_sql_authentication.cpp | |
parent | 223aa65cfa33be64e7e0b17f5a1b967d0ce0a2e4 (diff) |
Fix extras build
Diffstat (limited to 'modules/extra/m_sql_authentication.cpp')
-rw-r--r-- | modules/extra/m_sql_authentication.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<NickServService> 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()); } |