dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 8804919fbe3cf21946bcccebbcb5e33fcfed70b7
parent 0ac0766956fcdadb49a52eb413b103b0c8cb7492
Author: Fox <LightFox@home.com>
Date:   Wed, 19 Feb 2025 13:11:59 -0800

changed the stuff n0tr1v wanted me to change spelling and renaming fucntion :-)

Diffstat:
Mpkg/web/handlers/interceptors/command/command.go | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/pkg/web/handlers/interceptors/command/command.go b/pkg/web/handlers/interceptors/command/command.go @@ -150,13 +150,12 @@ func (c *Command) ZeroPublicMsg(raw, msg string) { } func (c *Command) zeroRawMsg(user2 *database.User, raw, msg string) { - zeroUser := c.GetZeroUser() - c.rawMsg(zeroUser, user2, raw, msg) + c.rawMsg(c.GetZeroUser(), user2, raw, msg) } func (c *Command) zeroSysRawMsg(user2 *database.User, raw, msg string, skipNotify bool) { - zeroUser := c.GetZeroUser() - c.rawSysMsg(zeroUser, user2, raw, msg, skipNotify) + + c.rawSysMsg(c.GetZeroUser(), user2, raw, msg, skipNotify) } func (c *Command) rawMsg(user1 database.User, user2 *database.User, raw, msg string) {