From caf483b5d1fbf768151b77f155f452909756a7a2 Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 21 Jul 2007 11:55:17 +0000 Subject: Make it local only. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7481 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_customtitle.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index 011ec1974..d00bdf975 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -47,6 +47,9 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist) CmdResult Handle(const char** parameters, int pcnt, userrec* user) { + if (!IS_LOCAL(user)) + return CMD_LOCALONLY; + char TheHost[MAXBUF]; char TheIP[MAXBUF]; -- cgit v1.2.3