- return (nlines>0);
-}
-
-
-
-void sendtohelpop(userrec *src, int pcnt, const char **params)
-{
- const char* first = params[0];
- if (*first == '!')
- {
- first++;
- }
-
- std::string line = "*** HELPOPS - From "+std::string(src->nick)+": "+std::string(first)+" ";
- for (int i = 1; i < pcnt; i++)
- {
- line = line + std::string(params[i]) + " ";
- }
- ServerInstance->WriteMode("oh",WM_AND,line.c_str());
-}
-
-class HelpopException : public ModuleException
-{
- private:
- std::string err;
- public:
- HelpopException(std::string message) : err(message) { }
- virtual const char* GetReason() { return err.c_str(); }