Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Commit 5c6883f

Browse files
Use alt_nicks to configure a default nick
1 parent 98984ff commit 5c6883f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/playbot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ fn main() {
252252
let conf = Config {
253253
nickname: Some(String::from(nick.as_str().unwrap())),
254254
nick_password: server.get("password").map(|val| String::from(val.as_str().unwrap())),
255+
alt_nicks: Some(vec!["playbot_".to_owned()]),
255256
should_ghost: Some(true),
256257
ghost_sequence: Some(vec!["RECOVER".to_string()]),
257258
server: Some(String::from(server_addr)),

0 commit comments

Comments
 (0)