diff --git a/irc/getters.go b/irc/getters.go index 4c26cfe9..7fe7d08a 100644 --- a/irc/getters.go +++ b/irc/getters.go @@ -400,12 +400,6 @@ func (channel *Channel) setUserLimit(limit int) { channel.stateMutex.Unlock() } -func (channel *Channel) Key() string { - channel.stateMutex.RLock() - defer channel.stateMutex.RUnlock() - return channel.key -} - func (channel *Channel) setKey(key string) { channel.stateMutex.Lock() defer channel.stateMutex.Unlock() @@ -418,13 +412,6 @@ func (channel *Channel) Founder() string { return channel.registeredFounder } -func (channel *Channel) DirtyBits() (dirtyBits uint) { - channel.stateMutex.Lock() - dirtyBits = channel.dirtyBits - channel.stateMutex.Unlock() - return -} - func (channel *Channel) HighestUserMode(client *Client) (result modes.Mode) { channel.stateMutex.RLock() clientModes := channel.members[client]