Skip to content

Instantly share code, notes, and snippets.

@atoponce
Last active December 20, 2023 18:39
Show Gist options
  • Save atoponce/f19666d6b206a10b411b97381a1861a1 to your computer and use it in GitHub Desktop.
Save atoponce/f19666d6b206a10b411b97381a1861a1 to your computer and use it in GitHub Desktop.
Security settings for WeeChat

Strongly Recommended

Disable DCC

/plugin unload xfer
/set weechat.plugin.autoload *,!xfer

Disable CTCP

/set irc.ctcp.action ""
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.ping ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""

Remove WeeChat version part/quit messages

/set irc.server_default.default_msg_part ""
/set irc.server_default.default_msg_quit ""

Save your settings

/save

Optional

Prevent bot private message spam on Freenode and OFTC

/mode <nick> -G+g
@nyov
Copy link

nyov commented Sep 22, 2018

@atoponce, thanks for the summary.
It seems some names changed in newer WeeChat versions:

-/set irc.server_default.default_msg_part ""
+/set irc.server_default.msg_part ""
-/set irc.server_default.default_msg_quit ""
+/set irc.server_default.msg_quit ""

@kulak
Copy link

kulak commented Oct 24, 2020

Good comment by nyov. It helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment