diff --git a/Classes/IRC/IRCMessage.m b/Classes/IRC/IRCMessage.m index 42a9f8de9a..cd2edcdc24 100755 --- a/Classes/IRC/IRCMessage.m +++ b/Classes/IRC/IRCMessage.m @@ -66,11 +66,11 @@ - (void)parseLine:(NSString *)line NSMutableString *s = [line mutableCopy]; - if ([s hasPrefix:@"@t="]) { // znc server-time + if ([s hasPrefix:@"@time="]) { // server-time NSString *t; t = [s getToken]; - t = [t substringFromIndex:3]; + t = [t substringFromIndex:6]; self.receivedAt = [NSDate dateWithTimeIntervalSince1970:[t longLongValue]]; } else { @@ -171,4 +171,4 @@ - (NSString *)description return ms; } -@end \ No newline at end of file +@end