diff options
Diffstat (limited to 'src/modules/m_noinvite.cpp')
-rw-r--r-- | src/modules/m_noinvite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp index 86b960b63..11a4e9493 100644 --- a/src/modules/m_noinvite.cpp +++ b/src/modules/m_noinvite.cpp @@ -81,7 +81,7 @@ class ModuleNoInvite : public Module { if (channel->IsModeSet('V')) { - WriteServ(user->fd,"492 %s %s :Can't invite %s to channel (+V set)",user->nick, channel->name, dest->nick); + user->WriteServ("492 %s %s :Can't invite %s to channel (+V set)",user->nick, channel->name, dest->nick); return 1; } return 0; |