/*
goircd -- minimalistic simple Internet Relay Chat (IRC) server
-Copyright (C) 2014-2015 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2014-2016 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
ClientRegister(client, cmd, cols)
continue
}
+ if client != nil {
+ client.recvTimestamp = now
+ }
switch cmd {
case "AWAY":
if len(cols) == 1 {
client.ReplyNicknamed("421", cmd, "Unknown command")
}
}
- if client != nil {
- client.recvTimestamp = now
- }
}
}