]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_shun.cpp
Add user/channel mode synchronisation detection to CAPAB - link will now drop if...
[user/henk/code/inspircd.git] / src / modules / m_shun.cpp
index 739bfb36a8a6a807bb2eb5590eee1e5954f3464e..c39962658640363f1da4f80989b2c248d0e74717 100644 (file)
@@ -73,9 +73,10 @@ class cmd_shun : public Command
        InspIRCd *Srv;
 
  public:
-       cmd_shun(InspIRCd* Me) : Command(Me, "SHUN", "o", 1), Srv(Me)
+       cmd_shun(InspIRCd* Me) : Command(Me, "SHUN", "o", 1, 3), Srv(Me)
        {
                this->source = "m_shun.so";
+               this->syntax = "<nick!user@hostmask> [<shun-duration>] :<reason>";
        }
 
        CmdResult Handle(const std::vector<std::string>& parameters, User *user)