diff options
| author | Adam <Adam@anope.org> | 2010-12-18 19:41:13 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-12-24 20:05:16 -0500 |
| commit | e54cffd9b78f5c55a6a68671a811d2f9577ae846 (patch) | |
| tree | 893645db27fa0f8229ccc47efeb51ff2d34a3ada /include | |
| parent | 75098739e60e4dda2e1465e35aaf65cf9e21041f (diff) | |
Don't send SXLines until after we start bursting with our uplink
Diffstat (limited to 'include')
| -rw-r--r-- | include/operserv.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/operserv.h b/include/operserv.h index 2711520cd..8bac11e76 100644 --- a/include/operserv.h +++ b/include/operserv.h @@ -97,6 +97,10 @@ class CoreExport XLineManager */ static std::pair<XLineManager *, XLine *> CheckAll(User *u); + /** Called on burst when all of our XLines should be bursted to the uplink + */ + static void Burst(); + /** Get the number of XLines in this XLineManager * @return The number of XLines */ @@ -176,6 +180,10 @@ class CoreExport XLineManager * @param x The xline */ virtual void OnExpire(XLine *x); + + /** Called to send an XLine to the IRCd + */ + virtual void Send(XLine *x) = 0; }; /* This is for AKILLS */ @@ -189,6 +197,8 @@ class SGLineManager : public XLineManager void OnMatch(User *u, XLine *x); void OnExpire(XLine *x); + + void Send(XLine *x); }; class SNLineManager : public XLineManager @@ -201,6 +211,8 @@ class SNLineManager : public XLineManager void OnMatch(User *u, XLine *x); void OnExpire(XLine *x); + + void Send(XLine *x); }; class SQLineManager : public XLineManager @@ -214,6 +226,8 @@ class SQLineManager : public XLineManager void OnExpire(XLine *x); + void Send(XLine *x); + static bool Check(Channel *c); }; @@ -227,6 +241,8 @@ class SZLineManager : public XLineManager void OnMatch(User *u, XLine *x); void OnExpire(XLine *x); + + void Send(XLine *x); }; #endif // OPERSERV_H |
