1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-16 01:56:55 +00:00

more golint & cleanup

This commit is contained in:
Kane York 2015-11-16 12:50:00 -08:00
parent 66cc124e37
commit cc3a160c29
10 changed files with 251 additions and 245 deletions

View file

@ -160,8 +160,8 @@ func RemoveFromSliceC(ary *[]chan<- ClientMessage, val chan<- ClientMessage) boo
return true
}
func AddToSliceB(ary *[]BunchSubscriber, client *ClientInfo, mid int) bool {
newSub := BunchSubscriber{Client: client, MessageID: mid}
func AddToSliceB(ary *[]bunchSubscriber, client *ClientInfo, mid int) bool {
newSub := bunchSubscriber{Client: client, MessageID: mid}
slice := *ary
for _, v := range slice {
if v == newSub {