As ZNC has already default channel modes for channels created by ZNC, it would be nice of there were also default user modes instead of having to play with perform in user and network settings (I am not sure if channel was in global settings, but if it is, user modes should be there too).
As ZNC has already default channel modes for channels created by ZNC, it would be nice of there were also default user modes instead of having to play with perform in user and network settings (I am not sure if channel was in global settings, but if it is, user modes should be there too).
It should allow at least input `<+|-><modes` e.g. `+QRgw-iI``, but in similar request for WeeChat (https://github.com/weechat/weechat/issues/377) more formats are requested.
##
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29529607-default-user-modes?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
</bountysource-plugin>
<!-- github-sync-id:124583596 -->
How WeeChat did it:
> Done with a new server option "usermode" (thanks sim642 for the PR).
The content is just modes sent in the command /mode $nick <modes>.
~~ https://github.com/weechat/weechat/issues/377#issuecomment-266280444
<!-- github-comment-id:266283982 -->
The problem with this method is that it would only work if my nick happened to be "lavacano" after znc's finished authenticating to the server (and suppose that doesn't happen, because maybe I lost connection and the server hasn't noticed yet). As far as I'm aware, ZNC supports nothing like a $nick token, so perform can't guarantee that it will work.
A duct-tape workaround would be to use the perform module:
```
/msg *status loadmod perform
/msg *perform add mode lavacano +giw
```
The problem with this method is that it would only work if my nick happened to be "lavacano" after znc's finished authenticating to the server (and suppose that doesn't happen, because maybe I lost connection and the server hasn't noticed yet). As far as I'm aware, ZNC supports nothing like a `$nick` token, so perform can't guarantee that it will work.
<!-- github-comment-id:312986967 -->
I think perform is more of an ugly hack and that there is a mismatch with ZNC supporting default channel modes while forgetting that user modes are also a thing.
I think perform is more of an ugly hack and that there is a mismatch with ZNC supporting default channel modes while forgetting that user modes are also a thing.
<!-- github-comment-id:313176071 -->
The problem with this method is that it would only work if my nick happened to be "lavacano" after znc's finished authenticating to the server (and suppose that doesn't happen, because maybe I lost connection and the server hasn't noticed yet). As far as I'm aware, ZNC supports nothing like a $nick token, so perform can't guarantee that it will work.
Still, a usermode text box in webadmin would be much appreciated.
> The problem with this method is that it would only work if my nick happened to be "lavacano" after znc's finished authenticating to the server (and suppose that doesn't happen, because maybe I lost connection and the server hasn't noticed yet). As far as I'm aware, ZNC supports nothing like a $nick token, so perform can't guarantee that it will work.
https://wiki.znc.in/Perform#Examples currently lists
```
/msg *perform add mode %nick% +w
```
so I think that limitation's been lifted?
Still, a usermode text box in webadmin would be much appreciated.
<!-- github-comment-id:635149738 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
As ZNC has already default channel modes for channels created by ZNC, it would be nice of there were also default user modes instead of having to play with perform in user and network settings (I am not sure if channel was in global settings, but if it is, user modes should be there too).
It should allow at least input
---<+|-><modese.g. `+QRgw-iI``, but in similar request for WeeChat (https://github.com/weechat/weechat/issues/377) more formats are requested.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
How WeeChat did it:
~~ https://github.com/weechat/weechat/issues/377#issuecomment-266280444
A duct-tape workaround would be to use the perform module:
The problem with this method is that it would only work if my nick happened to be "lavacano" after znc's finished authenticating to the server (and suppose that doesn't happen, because maybe I lost connection and the server hasn't noticed yet). As far as I'm aware, ZNC supports nothing like a
$nicktoken, so perform can't guarantee that it will work.@lavacano201014 take a look at https://wiki.znc.in/Perform
@Mikaela what's wrong with using perform module?
I think perform is more of an ugly hack and that there is a mismatch with ZNC supporting default channel modes while forgetting that user modes are also a thing.
https://wiki.znc.in/Perform#Examples currently lists
so I think that limitation's been lifted?
Still, a usermode text box in webadmin would be much appreciated.