summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-13 17:04:25 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-13 17:04:25 +0000
commit46ecb9252891c472c1f34fb6a2b5fb7ffeef3793 (patch)
tree7080cfd57e3f24716c9f0537fe1339b1b77897db /src/mode.cpp
parent97c0e6b4c4e304a1c4e764fc06a7e2663a41743d (diff)
Show correct server source to users on FTOPIC and FMODE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 625474cce..39f5f1da2 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -766,7 +766,7 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User *user,
if (!output_sequence.empty())
{
LastParseParams.push_front(output_sequence);
- if (servermode)
+ if (!user)
{
if (type == MODETYPE_CHANNEL)
{