Exemplo n.º 1
0
        public static void AddIgnore(ChatUser from, Channel channel, string param)
        {
            ChatUser target = ChatSystem.SearchForUser(from, param);

            if (target == null)
            {
                return;
            }

            from.AddIgnored(target);
        }
Exemplo n.º 2
0
        public static void ToggleIgnore(ChatUser from, Channel channel, string param)
        {
            ChatUser target = ChatSystem.SearchForUser(from, param);

            if (target == null)
            {
                return;
            }

            if (from.IsIgnored(target))
            {
                from.RemoveIgnored(target);
            }
            else
            {
                from.AddIgnored(target);
            }
        }
Exemplo n.º 3
0
		public static void ToggleIgnore( ChatUser from, Channel channel, string param )
		{
			ChatUser target = ChatSystem.SearchForUser( from, param );

			if ( target == null )
				return;

			if ( from.IsIgnored( target ) )
				from.RemoveIgnored( target );
			else
				from.AddIgnored( target );
		}
Exemplo n.º 4
0
		public static void AddIgnore( ChatUser from, Channel channel, string param )
		{
			ChatUser target = ChatSystem.SearchForUser( from, param );

			if ( target == null )
				return;

			from.AddIgnored( target );
		}