diff --git a/classes.py b/classes.py
index b78cc06..d145533 100644
--- a/classes.py
+++ b/classes.py
@@ -577,7 +577,13 @@ class Protocol():
self.irc.servers[sid].users.discard(numeric)
def updateTS(self, channel, their_ts):
+ """
+ Compares the current TS of the channel given with the new TS, resetting
+ all modes we have if the one given is older.
+ """
+
our_ts = self.irc.channels[channel].ts
+
if their_ts < our_ts:
# Channel timestamp was reset on burst
log.debug('(%s) Setting channel TS of %s to %s from %s',
diff --git a/docs/technical/inspircd.html b/docs/technical/inspircd.html
index 6f25cc6..21b1b36 100644
--- a/docs/technical/inspircd.html
+++ b/docs/technical/inspircd.html
@@ -223,7 +223,8 @@ be used for multi-word arguments that last un
- removeClient(self, numeric)
- Internal function to remove a client from our internal state.
-- updateTS(self, channel, their_ts)
+- updateTS(self, channel, their_ts)
- Compares the current TS of the channel given with the new TS, resetting
+all modes we have if the one given is older.
Data descriptors inherited from classes.Protocol:
@@ -414,7 +415,8 @@ be used for multi-word arguments that last un
- removeClient(self, numeric)
- Internal function to remove a client from our internal state.
-- updateTS(self, channel, their_ts)
+- updateTS(self, channel, their_ts)
- Compares the current TS of the channel given with the new TS, resetting
+all modes we have if the one given is older.
Data descriptors inherited from classes.Protocol:
@@ -431,6 +433,6 @@ Data descriptors inherited from classes.Protocol
Data
| |
-curdir = '../../protocols'
+ | curdir = 'protocols'
log = <logging.RootLogger object> |