summaryrefslogtreecommitdiff
path: root/room_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'room_test.go')
-rw-r--r--room_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/room_test.go b/room_test.go
index 342e58c..8d6decc 100644
--- a/room_test.go
+++ b/room_test.go
@@ -222,7 +222,7 @@ func TestJoin(t *testing.T) {
if r := <-conn.outbound; r != ":nick2!foo2@someclient MODE #barenc -k\r\n" {
t.Fatal("remove #barenc key", r)
}
- if rooms["#barenc"].key != nil {
+ if *rooms["#barenc"].key != "" {
t.Fatal("removing key from #barenc")
}
if r := <-logSink; (r.what != "removed channel key") || (r.where != "#barenc") || (r.who != "nick2") || (r.meta != true) {