diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-31 19:51:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-31 19:51:03 +0000 |
commit | c45fe6715d51a0b6565fee1321c45645883fa749 (patch) | |
tree | d34b69ddd88b2e7adda462b5e5e73455b60b3b91 /include/xline.h | |
parent | b3f562c11d5429fc555b75ae2ac491fa2b4dc72d (diff) |
Fix up to pass User*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8442 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/xline.h')
-rw-r--r-- | include/xline.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/xline.h b/include/xline.h index ff33da7d2..27e10eefe 100644 --- a/include/xline.h +++ b/include/xline.h @@ -426,21 +426,20 @@ class CoreExport XLineManager void CheckELines(std::map<std::string, XLine *> &ELines); /** Add a new GLine - * @param duration The duration of the line - * @param source The source of the line - * @param reason The reason for the line - * @param hostmask The hostmask + * @param line The line to be added + * @param user The user adding the line or NULL for the local server * @return True if the line was added successfully */ - bool AddLine(XLine* line); + bool AddLine(XLine* line, User* user); /** Delete a GLine - * @param hostmask The host to remove - * @param type Type of line to remove + * @param hostmask The xline-specific string identifying the line, e.g. "*@foo" + * @param type The type of xline + * @param user The user removing the line or NULL if its the local server * @param simulate If this is true, don't actually remove the line, just return * @return True if the line was deleted successfully */ - bool DelLine(const char* hostmask, char type, bool simulate = false); + bool DelLine(const char* hostmask, char type, User* user, bool simulate = false); /** Registers an xline factory. * An xline factory is a class which when given a particular xline type, |