mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 13:59:44 +01:00
Merge pull request #1185 from slingamn/wrongsource
fix incorrect source of some nickserv messages
This commit is contained in:
commit
57f2857e83
@ -423,8 +423,8 @@ func displaySetting(settingName string, settings AccountSettings, client *Client
|
|||||||
}
|
}
|
||||||
case "dm-history":
|
case "dm-history":
|
||||||
effectiveValue := historyEnabled(config.History.Persistent.DirectMessages, settings.DMHistory)
|
effectiveValue := historyEnabled(config.History.Persistent.DirectMessages, settings.DMHistory)
|
||||||
csNotice(rb, fmt.Sprintf(client.t("Your stored direct message history setting is: %s"), historyStatusToString(settings.DMHistory)))
|
nsNotice(rb, fmt.Sprintf(client.t("Your stored direct message history setting is: %s"), historyStatusToString(settings.DMHistory)))
|
||||||
csNotice(rb, fmt.Sprintf(client.t("Given current server settings, your direct message history setting is: %s"), historyStatusToString(effectiveValue)))
|
nsNotice(rb, fmt.Sprintf(client.t("Given current server settings, your direct message history setting is: %s"), historyStatusToString(effectiveValue)))
|
||||||
|
|
||||||
default:
|
default:
|
||||||
nsNotice(rb, client.t("No such setting"))
|
nsNotice(rb, client.t("No such setting"))
|
||||||
|
Loading…
Reference in New Issue
Block a user