From 76ebc88ccd6fef0bf2d97b607829fb3466e273af Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 09:23:46 +0000 Subject: extern time_t TIME -> InspIRCd::Time() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_b.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modes/cmode_b.cpp') diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp index f265c1094..d8f75220d 100644 --- a/src/modes/cmode_b.cpp +++ b/src/modes/cmode_b.cpp @@ -13,8 +13,6 @@ #include "hashcomp.h" #include "modes/cmode_b.h" -extern time_t TIME; - ModeChannelBan::ModeChannelBan(InspIRCd* Instance) : ModeHandler(Instance, 'b', 1, 1, true, MODETYPE_CHANNEL, false) { } @@ -91,7 +89,7 @@ std::string& ModeChannelBan::AddBan(userrec *user,std::string &dest,chanrec *cha } } - b.set_time = TIME; + b.set_time = ServerInstance->Time(); strlcpy(b.data,dest.c_str(),MAXBUF); if (*user->nick) { -- cgit v1.2.3