From a08b3ec5924c946308ac086cd3ee7d701610d3be Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 28 Nov 2009 23:02:07 +0000 Subject: Massive move of all of the Config variables out of global scope to the Config class git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules/ns_maxemail.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/ns_maxemail.c') diff --git a/src/modules/ns_maxemail.c b/src/modules/ns_maxemail.c index a60db4ad7..2a86b1eed 100644 --- a/src/modules/ns_maxemail.c +++ b/src/modules/ns_maxemail.c @@ -103,7 +103,7 @@ class NSMaxEmail : public Module EventReturn OnPreCommand(User *u, const std::string &service, const ci::string &command, const std::vector ¶ms) { - if (service == s_NickServ) + if (service == Config.s_NickServ) { if (command == "REGISTER") { @@ -155,9 +155,9 @@ bool check_email_limit_reached(const char *email, User * u) return false; if (NSEmailMax == 1) - me->NoticeLang(s_NickServ, u, LNG_NSEMAILMAX_REACHED_ONE); + me->NoticeLang(Config.s_NickServ, u, LNG_NSEMAILMAX_REACHED_ONE); else - me->NoticeLang(s_NickServ, u, LNG_NSEMAILMAX_REACHED, NSEmailMax); + me->NoticeLang(Config.s_NickServ, u, LNG_NSEMAILMAX_REACHED, NSEmailMax); return true; } -- cgit