mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
Update a header i left out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9842 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
f4445fe712
commit
fc3a83831b
@ -44,6 +44,8 @@ class ModuleAbbreviation : public Module
|
||||
command.erase(command.end() - 1);
|
||||
|
||||
ServerInstance->Logs->Log("m_abbreviation", DEBUG, "Abbreviated command: %s", command.c_str());
|
||||
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -113,7 +113,7 @@ protected:
|
||||
virtual void OnSyncOtherMetaData(Module* proto, void* opaque, bool displayable = false);
|
||||
virtual void OnDecodeMetaData(int target_type, void* target, const std::string &extname, const std::string &extdata);
|
||||
virtual int OnStats(char symbol, User* user, string_list &results) = 0;
|
||||
virtual int OnPreCommand(const std::string &command, const std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line);
|
||||
virtual int OnPreCommand(std::string &command, std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line);
|
||||
bool AppliesToMe(User* user, FilterResult* filter, int flags);
|
||||
};
|
||||
|
||||
@ -295,10 +295,10 @@ int FilterBase::OnUserPreNotice(User* user,void* dest,int target_type, std::stri
|
||||
return 0;
|
||||
}
|
||||
|
||||
int FilterBase::OnPreCommand(const std::string &command, const std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line)
|
||||
int FilterBase::OnPreCommand(std::string &command, std::vector<std::string> ¶meters, User *user, bool validated, const std::string &original_line)
|
||||
{
|
||||
flags = 0;
|
||||
if ((validated == 1) && (IS_LOCAL(user)))
|
||||
if (validated && IS_LOCAL(user))
|
||||
{
|
||||
std::string checkline;
|
||||
int replacepoint = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user