Commit c4d8ec59 authored by Justin Mitchell's avatar Justin Mitchell
Browse files

Try to rid the world of references to who_open(), almost done

parent 106d2741
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
*.so
*.pyc
*.swp
*.deb
.deps
cscope.out
src/client/mw

src/.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
tags
+0 −7
Original line number Diff line number Diff line
@@ -53,13 +53,6 @@
#define RIGHTS_BBS	0
#define RIGHTS_TALK	1


struct IgnoreList
{
	char			*name;
	struct IgnoreList	*next;
};
                
#define PACKAGE	"mw"
#define LOCALEDIR HOMEPATH"/locale"

+0 −3
Original line number Diff line number Diff line
@@ -44,8 +44,6 @@ CommandList chattable[]={
{"gag"		,0x0002	,1, "Usage: gag <user> [filter]", "Gag the user (with optional filter)", t_gag, 1},
{"global"	,0x0010	,1, "Usage: global <on|off>", "Global receive mode, hear all rooms", t_global, 1},
{"help"		,0x0000	,0, "Usage: help [command]", "List available commands, or help on [command]", t_help, 1},
{"ignore"	,0x0000	,1, "Usage: ignore <user>", "Filter user out so you can't hear them", t_ignore, 1},
{"ignorelist"	,0x0000	,0, "Usage: ignorelist", "Show who you are currently ignoring", t_ignorelist, 1}, 
{"linewrap"	,0x0000	,1, "Usage: linewrap <on|off>", "Line wrapping when terminal width is reached", t_linewrap, 1},
{"load"		,0x0200	,1, "Usage: load <file>", "Load script from file", t_load, 1},
{"kick"		,0x0804	,1, "Usage: kick <user> [reason]", "Eject user from talker, ignoring protection", t_kick, 1},
@@ -77,7 +75,6 @@ CommandList chattable[]={
{"unevent"	,0x0200	,1, "Usage: unevent <function | *>", "Unset [all] text event handler function(s)", t_unevent, 1},
{"unfreeze"	,0x0040	,1, "Usage: unfreeze <user>", "Allow user to change rooms again", t_unfreeze, 1},
{"ungag"	,0x0002	,1, "Usage: ungag <user>", "Remove the Gag on the user", t_ungag, 1},
{"unignore"	,0x0000	,1, "Usage: unignore <user>", "Stop filtering user out so you can hear them", t_unignore, 1},
{"unprotect"	,0x0020	,1, "Usage: unprotect <user>", "Remove protection from user", t_unprotect, 1},
{"uptime"	,0x0000	,0, "Usage: uptime", "Show server uptime", t_uptime, 1},
{"uri"		,0x0000	,0, "Usage: uri [list [*|username] [n] | delete <id> | nsfw <id> | membersonly <id> | anonymous <id> | displaymode <full|short>]", "View/Edit the uris in the mwuri database", t_uri, 1},
+1 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
#include "main.h"
#include "talker_privs.h"
#include "alias.h"
#include "who.h"

/*
  modes:	0 - commands
@@ -49,7 +50,6 @@ CompletionList tctable[]={
{"freeze"	,1	,1	,1	,part_who_talk},
{"gag"		,1	,2	,2	,part_gag_filter},
{"gag"		,1	,1	,2	,part_who_talk},
{"ignore"	,1	,1	,-1	,part_who},
{"kick"		,1	,1	,1	,part_who_talk},
{"load"		,1	,1	,1	,list_mwsfile},
{"mrod"		,1	,1	,1	,part_who},
@@ -64,7 +64,6 @@ CompletionList tctable[]={
{"unbind"	,1	,1	,1	,list_bind},
{"unfreeze"	,1	,1	,1	,part_who_talk},
{"ungag"	,1	,1	,1	,part_who_talk},
{"unignore"	,1	,1	,-1	,part_who},
{"unprotect"	,1	,1	,1	,part_who_talk},
{"uri"		,1	,2	,2	,uri_arg_tc},
{"uri"		,1	,1	,1	,uri_action_tc},
Loading