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