aboutsummaryrefslogtreecommitdiff
path: root/hotline
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-05-05 16:58:24 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-05-05 17:30:26 -0700
commit1efbb15f239d7da32dadcc121a8b6db5061d297f (patch)
treed55bd585a729ac40d0ef54c986cf627275e8ee6d /hotline
parent6ad7322a8c970de3e15c7815fc5c402cd3e24b2e (diff)
Fix handling of refuse PM flag
Diffstat (limited to 'hotline')
-rw-r--r--hotline/transaction_handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/transaction_handlers.go b/hotline/transaction_handlers.go
index d86e928..1ef8ad3 100644
--- a/hotline/transaction_handlers.go
+++ b/hotline/transaction_handlers.go
@@ -337,7 +337,7 @@ func HandleSendInstantMsg(cc *ClientConn, t *Transaction) (res []Transaction, er
// Check if target user has "Refuse private messages" flag
flagBitmap := big.NewInt(int64(binary.BigEndian.Uint16(otherClient.Flags)))
- if flagBitmap.Bit(UserFlagRefusePChat) == 1 {
+ if flagBitmap.Bit(UserFlagRefusePM) == 1 {
res = append(res,
*NewTransaction(
TranServerMsg,