]> Cypherpunks.ru repositories - goircd.git/blobdiff - room.go
Raise copyright years
[goircd.git] / room.go
diff --git a/room.go b/room.go
index 2a5f22a2164d60826117cadd0b560017ae3694d4..dcad9d4be34210c68d8a559eff346b35fcdca63f 100644 (file)
--- a/room.go
+++ b/room.go
@@ -1,6 +1,6 @@
 /*
 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
@@ -142,7 +142,7 @@ func (room *Room) Processor(events <-chan ClientEvent) {
                                        "352",
                                        *room.name,
                                        *m.username,
-                                       m.conn.RemoteAddr().String(),
+                                       m.Host(),
                                        *hostname,
                                        *m.nickname,
                                        "H",