Browse Source

fix incorrect source of some nickserv messages

tags/v2.2.0-rc1
Shivaram Lingamneni 3 years ago
parent
commit
7dd25c6ac7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      irc/nickserv.go

+ 2
- 2
irc/nickserv.go View File

@@ -423,8 +423,8 @@ func displaySetting(settingName string, settings AccountSettings, client *Client
423 423
 		}
424 424
 	case "dm-history":
425 425
 		effectiveValue := historyEnabled(config.History.Persistent.DirectMessages, settings.DMHistory)
426
-		csNotice(rb, fmt.Sprintf(client.t("Your stored direct message history setting is: %s"), historyStatusToString(settings.DMHistory)))
427
-		csNotice(rb, fmt.Sprintf(client.t("Given current server settings, your direct message history setting is: %s"), historyStatusToString(effectiveValue)))
426
+		nsNotice(rb, fmt.Sprintf(client.t("Your stored direct message history setting is: %s"), historyStatusToString(settings.DMHistory)))
427
+		nsNotice(rb, fmt.Sprintf(client.t("Given current server settings, your direct message history setting is: %s"), historyStatusToString(effectiveValue)))
428 428
 
429 429
 	default:
430 430
 		nsNotice(rb, client.t("No such setting"))

Loading…
Cancel
Save