summaryrefslogtreecommitdiff
path: root/modules/commands/ns_recover.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-26 22:57:51 -0500
committerAdam <Adam@anope.org>2012-11-26 23:09:26 -0500
commit8a6962fc363410928dc8d7c197fd3fbf3e315597 (patch)
tree7eac6e127be5e4b691e96a1053f114870cc449aa /modules/commands/ns_recover.cpp
parentf23bad140b3abf3350c552c27c4e1d995337ce79 (diff)
Keep track on what ircds we can svsjoin, add an svspart method
Diffstat (limited to 'modules/commands/ns_recover.cpp')
-rw-r--r--modules/commands/ns_recover.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_recover.cpp b/modules/commands/ns_recover.cpp
index 287224a1b..419857eee 100644
--- a/modules/commands/ns_recover.cpp
+++ b/modules/commands/ns_recover.cpp
@@ -243,8 +243,8 @@ class NSRecover : public Module
/* User might already be on the channel */
if (u->FindChannel(c))
this->OnJoinChannel(u, c);
- else
- IRCD->SendSVSJoin(NickServ, u->GetUID(), cname, "");
+ else if (IRCD->CanSVSJoin)
+ IRCD->SendSVSJoin(NickServ, u, cname, "");
}
}
}