It should be picked up by avast automatically, provided you're using its latest version (4.1.260 at the moment). To verify this, do some file transfers in the Messenger and watch the 'last scanned file' for the "Instant Messaging" provider (double-click the avast tray icon and select "Details... >>" to access it).
Vlk
PS Please avoid duplicate posts.