File: chat_ban

package info (click to toggle)
pork 0.99.8.1-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,692 kB
  • ctags: 4,028
  • sloc: ansic: 34,985; sh: 3,677; perl: 931; makefile: 560
file content (13 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
SYNTAX: PORK::chat_ban(chat_room, user, [account])
	Bans a user from a chat room.

INPUT PARAMETERS
	chat_room: The name/exchange combination of the chat room in which to ban the specified user user.
	user     : The user to ban. This may be a hostmask.
	account  : (Optional) The account on whose behalf the action will be performed. If this parameter is omitted, the account active in the current window will be assumed.

RETURN VALUE
	Returns 0 on success, -1 on failure.

SEE ALSO
	chat ban.