diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-21 11:55:17 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-21 11:55:17 +0000 |
commit | caf483b5d1fbf768151b77f155f452909756a7a2 (patch) | |
tree | 898f4d1aead17fb003c5d0c7ea557ddcaeb7be22 | |
parent | 1a416cbc2ef9a735b70ec8a64b9ce87840c39b77 (diff) |
Make it local only.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7481 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_customtitle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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]; |