summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 18:09:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 18:09:52 +0000
commit81ab39d08198e0b20300175cc9665c8cee87b944 (patch)
tree7871d0af689d75a9ae75bc8ea8ea808acec86ee9 /src
parent1beedda4973acac7aa8effaf1460ad9079284e89 (diff)
Fix typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4180 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/mode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 1dd84ef5d..8415a3bf4 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -407,7 +407,7 @@ void ModeParser::Process(char **parameters, int pcnt, userrec *user, bool server
}
else
{
- WriteServ("MODE %s %s",targetuser->nick,output_sequence.c_str());
+ WriteServ(targetuser->fd,"MODE %s %s",targetuser->nick,output_sequence.c_str());
}
}
else
@@ -420,7 +420,7 @@ void ModeParser::Process(char **parameters, int pcnt, userrec *user, bool server
}
else
{
- WriteTo(targetuser->fd,user,"MODE %s %s",targetuser->nick,output_sequence.c_str());
+ WriteTo(user,targetuser,"MODE %s %s",targetuser->nick,output_sequence.c_str());
FOREACH_MOD(I_OnMode,OnMode(user, targetuser, TYPE_USER, output_sequence));
}
}