commit bbaefa738af8ceaf5de6636357611f1b8f0e94b7 parent 20ae645ae6b06044a002072f86883f2fa7f21331 Author: n0tr1v <n0tr1v@protonmail.com> Date: Sun, 31 Dec 2023 11:42:00 -0500 msg first Diffstat:
| M | pkg/web/handlers/interceptors/slashInterceptor.go | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/handlers/interceptors/slashInterceptor.go b/pkg/web/handlers/interceptors/slashInterceptor.go @@ -1835,8 +1835,8 @@ func handleWizzCmd(c *command.Command) (handled bool) { c.ZeroSysMsgToSkipNotify(c.AuthUser, "you wizzed "+wizzedUser.Username.String()) } - database.MsgPubSub.Pub("wizz_"+wizzedUser.Username.String(), database.ChatMessageType{Typ: database.Wizz}) c.ZeroSysMsgTo(wizzedUser, "wizzed by "+c.AuthUser.Username.String()) + database.MsgPubSub.Pub("wizz_"+wizzedUser.Username.String(), database.ChatMessageType{Typ: database.Wizz}) c.Err = command.ErrRedirect return true }