a few small things.
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-07-22 20:08:22 +02:00
parent a26d5d5b81
commit f7d53f4c63
9 changed files with 132 additions and 41 deletions
+4
View File
@@ -199,6 +199,10 @@ func (isupport *ISupport) Prefixes(modes string) string {
// IsChannel returns whether the target name is a channel.
func (isupport *ISupport) IsChannel(targetName string) bool {
if len(targetName) < 1 {
return false
}
isupport.lock.RLock()
defer isupport.lock.RUnlock()