Change the line:

1if(!permission.PermissionExists("notice.canNotice")) permission.RegisterPermission("canNotice",this);


to:

1if(!permission.PermissionExists("notice.canNotice")) permission.RegisterPermission("notice.canNotice",this);


This way, the permission will be correctly registered as "notice.canNotice" and the error message should disappear.