Compare commits
1 Commits
923efb3d0e
...
3af09d6234
Author | SHA1 | Date | |
---|---|---|---|
3af09d6234 |
@ -38,7 +38,8 @@ func CleanNick(nick string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func PrefixChannel(channel string) string {
|
func PrefixChannel(channel string) string {
|
||||||
if channel[0] != '#' {
|
// there could theoretically be other channel prefixes ..
|
||||||
|
if channel[0] != '#' || channel[0] != '!' {
|
||||||
channel = "#" + channel
|
channel = "#" + channel
|
||||||
}
|
}
|
||||||
return channel
|
return channel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user