From 7775a195d9c417e52eaaf912ec51d62bf0fd9a54 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 15:14:39 +0000 Subject: Move remaining functions: operstrcmp* commands.cpp InspIRCd::operstrcmp() duration* commands.cpp InspIRCd::duration() host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone() ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone() nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index fd5672cd3..94ba661e0 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -338,11 +338,6 @@ bool InspIRCd::MatchText(const std::string &sliteral, const std::string &spatter return match(sliteral.c_str(),spattern.c_str()); } -bool InspIRCd::IsUlined(const std::string &server) -{ - return is_uline(server.c_str()); -} - bool InspIRCd::CallCommandHandler(const std::string &commandname, const char** parameters, int pcnt, userrec* user) { return this->Parser->CallHandler(commandname,parameters,pcnt,user); @@ -521,11 +516,6 @@ bool InspIRCd::DelELine(const std::string &hostmask) return XLines->del_eline(hostmask.c_str()); } -long InspIRCd::CalcDuration(const std::string &delta) -{ - return duration(delta.c_str()); -} - /* * XXX why on *earth* is this in modules.cpp...? I think * perhaps we need a server.cpp for InspIRCd:: stuff where possible. -- w00t -- cgit v1.3.1-10-gc9f91